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

Stop a single row from databinding

1 Answer 8 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Josh
Top achievements
Rank 1
Josh asked on 24 Jul 2010, 03:31 PM
I have a Radgrid that is using a OpenAccess data source.  Due to some complex business rules, I can not do all of my data filtering at the data source.  Is it possible to not bind specific rows to the grid that come back from the data source?  I have tries setting the rows to not be visible but then I have a weird issue where all of my row counts are are off by the number of hidden rows.

Thanks for any suggestions.

Josh

1 Answer, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 29 Jul 2010, 07:39 AM
Hello Josh,

Your approach to hiding the items is valid and viable, however, instead of setting their Visible property to false, you can set their Display property and in this way the items will be rendered hidden but still kept in the Items collection of the grid.

Hope it helps.

Regards,
Tsvetoslav
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Josh
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Share this question
or