This is a migrated thread and some comments may be shown as answers.

Item display = false paging

1 Answer 41 Views
Grid
This is a migrated thread and some comments may be shown as answers.
IT Manager
Top achievements
Rank 1
IT Manager asked on 03 Feb 2016, 03:28 PM

I use item.Display = false; in the RadGrid1_ItemCreated. This hides the item fine. Page count is 15 and only shows 10 because 5 are hidden.

Is there a way to show the 15 requested...

Thanks 

 

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 08 Feb 2016, 03:35 PM
Hello,

In this scenario, I am afraid no. The grid loads only the items which is provided in the data source, therefore, you will need to provide only the "displayed" items in the NeedDataSource event handler:
http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/data-binding/understanding-data-binding/server-side-binding/advanced-data-binding-%28using-needdatasource-event%29

Or use filtering:
http://demos.telerik.com/aspnet-ajax/grid/examples/functionality/filtering/basic-filtering/defaultcs.aspx

Regards,
Eyup
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Grid
Asked by
IT Manager
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or