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

Clearing data source leaves SelectColumn checked

1 Answer 49 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Paul Ridden
Top achievements
Rank 1
Veteran
Paul Ridden asked on 06 May 2010, 09:04 AM
HI

When the grid is bound to a collection (ObservableCollection) and SelectionMode is set to Multiple a check box appears in the header allowing you to select/deselect all rows.

If you then clear the collection through code the rows are removed (as expected) but the check box remains ticked. Whilst I could see that this could be interpredeted both ways (If the is nothing there then it is indeterminate at to whether everything is selected or not) if you then add another item to the collection the header check box is still ticked but the new row is not. This does not seem to be correct. Personally I would have thought the check box should be automatically unchecked (and maybe even disabled) if there are no items in the underlying data source.

Thanks
Russell Mason

1 Answer, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 12 May 2010, 10:19 AM
Hi Paul Ridden,

Excuse me for the delay.

We really appreciate your feedback which revealed a bug in our GridViewSelectColumn. We are already working on a fix which should be included in this Friday's Internal Build.

Thank you once again. I have updated your Telerik points.


Sincerely yours,
Milan
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
GridView
Asked by
Paul Ridden
Top achievements
Rank 1
Veteran
Answers by
Milan
Telerik team
Share this question
or