Hi,
I have a WebDataGrid 10.2 with paging enabled and I want to display something like that: "Row 10 to 20 of 500 rows".
I tried to do it in code behind but I do not get a postback on PageIndexChanged. Additionally I don't know where to get the total row count. In the moment I get this info from data source but I want to display the "filtered" row count. That means if someone applies a filter I want to display the rows which are not filtered out.
Any ideas?
Hello,
Maybe you woud be able to use a custome Paging template :
https://es.infragistics.com/help/aspnet/webdatagrid-using-custom-paging-template-in-code
Hope this helps.
Hallo Radoslav Minchev,
that's not realy the anwer that I want. In other words: I need the following WebDataGrid client side Propertys:
TotalRowCount (All rows which are not filtered out)CurrentPageIndexRowsOnCurrentPage
<ig:WebDataGrid ID="WebDataGrid1" runat="server" Height="350px" Width="759px"> <ClientEvents AJAXResponse="AJAXResponseHandler" /> <Behaviors> <ig:Filtering> </ig:Filtering> <ig:Paging QuickPages="2"> </ig:Paging> </Behaviors> </ig:WebDataGrid> <script type="text/javascript"> function AJAXResponseHandler(sender, args) { var filteredRowsObject = args.get_gridResponseObject().AdditionalProperties; var footer = sender.get_columns().get_column(1).get_footer().get_element(); footer.innerText = "Filtered Rows : " +filteredRowsObject.rowCount } </script>