Hi,
In telerik grid I have six columns,and grid have 1000+ records.Suppose a user select 10 records from this .I want to have a validation in which user had selected right columns or not.For this I have to Get the vlaue of 3 rd column from grid for the selected records and have check and based on the result i have to show a message.
For selecting row i am using client select column
var grid = $find("<%=GridName.ClientID %>");
var MasterTable = grid.get_masterTableView();
for (var intcount = 0; intcount < MasterTable.get_selectedItems().length; intcount++)
{
var row = MasterTable.get_selectedItems()[intcount];
var FieldValue = MasterTable.getCellByColumnUniqueName(row, "ColumnName").innerHTML;
}
Problem I am facing is : If the selected column is in different page(Paging) then I am not able to get the reference of that.
its giving me index out of bound exception.
How can we get the selected column values irrespective of paging
Please help me.
Thanks
A2H
In telerik grid I have six columns,and grid have 1000+ records.Suppose a user select 10 records from this .I want to have a validation in which user had selected right columns or not.For this I have to Get the vlaue of 3 rd column from grid for the selected records and have check and based on the result i have to show a message.
For selecting row i am using client select column
var grid = $find("<%=GridName.ClientID %>");
var MasterTable = grid.get_masterTableView();
for (var intcount = 0; intcount < MasterTable.get_selectedItems().length; intcount++)
{
var row = MasterTable.get_selectedItems()[intcount];
var FieldValue = MasterTable.getCellByColumnUniqueName(row, "ColumnName").innerHTML;
}
Problem I am facing is : If the selected column is in different page(Paging) then I am not able to get the reference of that.
its giving me index out of bound exception.
How can we get the selected column values irrespective of paging
Please help me.
Thanks
A2H