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

Disable problem in RadGrid 2008

1 Answer 82 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 2
Alex asked on 07 Feb 2012, 12:39 PM
function SelectRows()
{         
   var masterTable = $find("<%= CandidatesGrid.ClientID %>").get_masterTableView();
   var row = masterTable.get_dataItems();
    for(i =0;i<row.length;i++)
    {
          var check=masterTable.get_dataItems()[i].getDataKeyValue("Check");
          if(check !=0)
          {
                masterTable.get_dataItems()[i].set_selected(true);              
          }
           else
           {            
                 masterTable.get_dataItems()[i].set_selected(false);  
                // How to disable the row here?      
                        
           }
  }
  
 }
How to disable a particular row in RadGrid using javascript(i am using GridClientSelectColumn to select a row)?

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 07 Feb 2012, 02:18 PM
Hello,

It is not possible to disable a row in RadGrid at my end. One suggestion is you can gray out the row by adding CssClass via javascript.

Thanks,
Princy.
Tags
Grid
Asked by
Alex
Top achievements
Rank 2
Answers by
Princy
Top achievements
Rank 2
Share this question
or