Loading ...
Sorry, an error occurred while loading the content.

Re: [Solved]How to unselect a row in a DataTable

Expand Messages
  • Daniel Nunes
    This is better:(For single select Table) var selectDeSelectRow = function(args){ var row = minhaTabelaDeDados.getSelectedRows()[0];
    Message 1 of 3 , Jun 2, 2007
    • 0 Attachment
      This is better:(For single select Table)
      var selectDeSelectRow = function(args){
      var row = minhaTabelaDeDados.getSelectedRows()[0];
      minhaTabelaDeDados.selectRow(args.target.parentNode);
      if(row && minhaTabelaDeDados.isSelected(args.target.parentNode)){
      minhaTabelaDeDados.unselectRow(row);
      }
      }
      minhaTabelaDeDados.subscribe('cellClickEvent',selectDeSelectRow);
    Your message has been successfully submitted and would be delivered to recipients shortly.