Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #103687
    Gilles Piazzon
    Participant
    Up
    0
    Down

    Hi all,

    is there some event to catch grid’s rowdetail (open/close) ?

    thanks

    #103732
    admin
    Keymaster
    Up
    0
    Down

    Hi,

    We have a callback function – onRowDetailUpdated{(index: number, row: Smart.Grid.Row, details: HTMLElement): void}. It is called each time the row detail is expanded/collapsed and requests an update.

    Best regards,
    Peter Stoev

    Smart UI Team
    https://www.htmlelements.com/

    #103734
    Gilles Piazzon
    Participant
    Up
    0
    Down

    Thanks, but,

    there’s no effect the first time we open detailrow.

    onRowDetailUpdated(index, row, details) {
    alert(‘ Id : ‘+ row.cells[0].value);</div>
    }

    this works only from the second time we open detail row !

    This error appears for all rows the first time.
    Thanks

    #103738
    george_kostov0
    Participant
    Up
    0
    Down

    Hi,

    On the first expansion, the onRowDetailInit event will be triggered after that each time you expand the details the onRowDetailUpdated will be triggered.

    Should you need any further help, do not hesitate to contact us!

    Best Regards,
    George Kostov

    Smart UI Team
    https://www.htmlelements.com/

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.