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

Re: How to double click a row in datatable to unselect the row?

Expand Messages
  • jliuecmd
    Got it figured out: myTable.subscribe( rowDblclickEvent , myTable.unselectAllRows);
    Message 1 of 2 , Apr 27, 2009
    • 0 Attachment
      Got it figured out:

      myTable.subscribe("rowDblclickEvent", myTable.unselectAllRows);

      --- In ydn-javascript@yahoogroups.com, "jliuecmd" <jliuecmd@...> wrote:
      >
      > myTable.subscribe("rowClickEvent", myTable.onEventSelectRow);
      >
      > will select a row. I want to subscribe to "rowDblclickEvent" to un-select a row. But there is now such thing as onEventUnselectRow, and my call will give invalid callback function error:
      >
      > myTable.subscribe("rowDblclickEvent", myTable.onEventUnselectRow);
      >
      > Please help!
      >
      > Thank you!
      >
      > Jun
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.