Results 1 to 2 of 2

Thread: expanding a row without clicking +/- icon

  1. #1
    Sencha User
    Join Date
    Aug 2013
    Posts
    46
    Vote Rating
    0
      0  

    Default expanding a row without clicking +/- icon

    Hi ,

    I am using row expander plugin for expanding/ collapsing the row.Plug in provides two icons (+ for expansion and - for collapse ). The plugin is working as expected.

    What I am trying to do is , expanding the row in a more customized way.let's say row selection or row's custom icon click
    Is that possible ?

    Please note that I am trying to call
    Plugin.toggleRow(rowindex,record) inside my event (click of custom icon). So will this approach solve the requirement.

    Please suggest on the same. Thanks in advance.

  2. #2
    Sencha User slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,165
    Answers
    505
    Vote Rating
    255
      0  

    Default

    Hi,

    Yes, your approach looks right. There is not a public expand/collapse/toggle method I'm afraid, but the toggleRow method is what the plugin is using internally for + / - click event handling.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •