jQWidgets Forums

jQuery UI Widgets Forums Grid Grid

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Martin 6 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Grid Posts
  • Grid #105275

    angulardev19
    Participant

    Hi,

    How to apply condition based [rowdetailstemplate] for Nested Grid.
    Something like this:

    rowdetailstemplate: any = {
        if(condition){
        rowdetails: '<div id="nestedGrid" style="margin: 10px;"></div><div id="nestedaddbtn"></div>', rowdetailsheight: 198, rowdetailshidden: true
        }else{
          rowdetails: '<div id="nestedGrid" style="margin: 10px;"></div>', rowdetailsheight: 10
        }
    }

    Frontend: Angular 7

    Grid #105304

    Martin
    Participant

    Hello angulardev19,

    Please, take a look at the following Example.

    Best Regards,
    Martin

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.