Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ListGrid - selectionAppearance

    SmartClient : Smartclient v8.2p_2012-06-07 - Power Edition
    Browser : IE 7 , IE 8, IE 9

    Hi
    Is there a way on ListGrid to use selectionAppearance as both checkbox and rowStyle?

    I have ListGrid where I want user to make selection either by clicking anywhere on row or on clicking checkbox.
    Is there any workaround?

    Please suggest.

    #2
    You could add a listGrid.recordClick handle that calls setSelectedRecord().

    If you want to fully replicate shift- and control-clicks you'll need to add logic for that too.

    Comment


      #3
      Originally posted by Isomorphic View Post
      You could add a listGrid.recordClick handle that calls setSelectedRecord().

      If you want to fully replicate shift- and control-clicks you'll need to add logic for that too.
      Thanks for the reply,

      I tried recordClick(), but how do I get handle to keypress event to implement logic for Shit / control keys?

      Please suggest.

      Thanks

      Comment


        #4
        EventHandler.shiftKeyDown()/ctrlKeyDown() can tell you this.

        Comment


          #5
          Originally posted by Isomorphic View Post
          EventHandler.shiftKeyDown()/ctrlKeyDown() can tell you this.
          Thanks a lot ,
          It worked with EventHandler.shiftKeyDown()/ctrlKeyDown().

          Comment

          Working...
          X