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

Grid is not getting refreshed

2 Answers 30 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Puja
Top achievements
Rank 1
Puja asked on 13 Jan 2012, 11:39 AM
I am new to telerik controls it can be a silly mistake :( Can please anyone help
I was trying to remove some items from the Datagrid.Items using DataGrid.Items.Remove() but it is not getting reflected in the UI.

foreach (var item in DataGrid.Items)
{
if(some condition)
  DataGrid.Items.Remove(item);
}

these lines are within OnGridStateChanged event.

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 13 Jan 2012, 12:15 PM
Hello,

 I don't believe that we have such event for RadGridView. 

All the best,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Puja
Top achievements
Rank 1
answered on 13 Jan 2012, 12:45 PM
Thanks for the reply i fixed that it was a silly mistake which was killing me .


But can you please help me to find a way  that we can disable the select checkbox (means we should not be able to select the row) for some of the rows when we are using telerik GridViewSelectColumn
Tags
GridView
Asked by
Puja
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Puja
Top achievements
Rank 1
Share this question
or