Row InnerText

2 posts, 0 answers
  1. Rahul Khinvasara
    Rahul Khinvasara avatar
    303 posts
    Member since:
    Aug 2007

    Posted 09 Oct 2009 Link to this post


    I am using Q2 2009 . When i  double click on particular row , i want row text.
    Please give me the solution ASAP.


  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 11 Oct 2009 Link to this post

    Hi Rahul,

    Attach OnRowDblClick event to RadGrid and then access the cell value using getCellByColumnUniqueName method of the GridTableView client-side object.

    <script type="text/javascript"
        function OnRowDblClick(sender, eventArgs) { 
            var grid = sender; 
            var MasterTable = grid.get_masterTableView(); 
            var row = MasterTable.get_dataItems()[eventArgs.get_itemIndexHierarchical()]; 
            var cell = MasterTable.getCellByColumnUniqueName(row, "CustomerID"); 

Back to Top