EasyUI Forum
March 28, 2024, 09:26:15 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Datagrid onClickRow event  (Read 15031 times)
jwilliquor
Newbie
*
Posts: 15


View Profile
« on: October 02, 2012, 06:49:52 AM »

Is there a way to get the event for an onClickRow of a datagrid.  I want to override how the click is handled but i cannot detect keydowns and such.  Here's what I would like todo for instance but e is not sent in to this event like it is for the onRowContextMenu event.

onClickRow: function(rowIndex, rowData){
            debugger;
            if(!e.ctrlKey){
                $('#gridMain').datagrid('unselectAll');
            }
            $('#gridMain').datagrid('selectRow', rowIndex);
        }
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!