Hi Bebu,
I would suggest you to try calling the ApplyFilters method after clearing the column filters:
WebDataGrid1.Behaviors.Filtering.ApplyFilter(); This should remove the filtering and the grid should display the whole datasource. Please let me know if this helps.
WebDataGrid1.Behaviors.Filtering.ApplyFilter();
This should remove the filtering and the grid should display the whole datasource.
Please let me know if this helps.
One possible approach would be to create additional property of the CustomAJAXResponse object of the grid for the number of rows in the datasource. Then in AjaxResponse client side event handler you could access this property to get the total number of rows:
protected void Page_Load(object sender, EventArgs e)
{
WebDataGrid1.CustomAJAXResponse.AdditionalProperties.Add("count", rowCount);
}
function AjaxResponseHandler(sender, args) {
var rowCount = args.get_gridResponseObject().AdditionalProperties.count;
Let me know if this helps.
Hello Bebu,
If you have any other questions, please feel free to contact me.