FineUI Grid Control highly adaptive

Source: Internet
Author: User

Introduction

Use the f: Grid Control on the page, add the paging function, and then fill the whole page in height.

 

How to Use

Each page of The FineUI control has a f: PageManager control, which contains the property AutoSizePanelID and sets the ID of the control to be filled. From its demo, we can see that, normally, you need to place another container Panel to fill the entire page.

<F: PageManager ID = "PageManager1" runat = "server" AutoSizePanelID = "ResultSetGrid"/> <f: grid ID = "ResultSetGrid" runat = "server" EnableCheckBoxSelect = "true" Title = "" DataKeyNames = "ID" ShowBorder = "false" PageSize = "3" AllowPaging = "true" isDatabasePaging = "true" OnPageIndexChange = "ResultSetGrid_PageIndexChange" OnSort = "ResultSetGrid_Sort" AllowSorting = "true" SortField = "ID"> <Toolbars> <f: toolbar ID = "ResultSetGrid_Toolbar" runat = "server"> <Items> <f: button ID = "btnAdd" runat = "server" Text = "Add" OnClientClick = "Add ();" EnablePostBack = "false" Icon = "ApplicationAdd"> </f: button> <f: button ID = "btnEdit" runat = "server" Text = "edit" EnableAjax = "true" OnClick = "btnEdit_Click" Icon = "ApplicationEdit"> </f: button> <f: Button ID = "btnDelete" runat = "server" Text = "delete" OnClick = "btnDelete_Click" Icon = "ApplicationDelete"> </f: button> <f: Button ID = "btnImport" runat = "server" OnClientClick = "Import ();" Text = "Data Collection" Icon = "ApplicationLink"> </f: button> <f: Button ID = "btnSelf" runat = "server" OnClientClick = "Filter (); "Text =" Custom filtering "Icon =" ApplicationKey "> </f: Button> </Items> </f: Toolbar> </Toolbars> <Columns> <f: rowNumberField EnablePagingNumber = "true"/> </Columns> </f: Grid>

  

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.