jQWidgets Forums

jQuery UI Widgets Forums Grid groupexpand dynamic data

This topic contains 5 replies, has 2 voices, and was last updated by  Hristo 8 years, 2 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • groupexpand dynamic data #92359

    jahnvi25
    Participant

    i have groupexpand event implemented and its working as expected.but when i call jqxgrid(‘clear’) method.. so i loose the event,,and do i have to re-attach the event in bindingcomplete ??

    groupexpand dynamic data #92381

    Hristo
    Participant

    Hello jahnvi25,

    Could you give more details? Which event do you use?
    When you use clear method this will clear all data in the Grid.
    I tested with columnclick event and it seems to work fine.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

    groupexpand dynamic data #92387

    jahnvi25
    Participant

    i am loosing ‘groupexpand’ and ‘groupcollapse’ event.. when i call ‘clear’ on grid to clear out all the data..is that expected ?

    groupexpand dynamic data #92409

    Hristo
    Participant

    Hello jahnvi25,

    You do not have any data after you use clear method.
    How you try to expand or collapse any group?
    I would like to ask you for an example that could demonstrate this and also give more details what you want to achieve?

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

    groupexpand dynamic data #92420

    jahnvi25
    Participant

    sorry for confusion.. i will try to create example. my code is little complex.. after calling ‘clear’ method… i am setting data to the table..by calling
    src.localdata = data.. then i am trying to ‘expand’ one of the group. but ‘group’ expanded event is not being called.. so my question is after setting data.. do i need to call table.jqxGrid(‘addgroup’, ‘header’).. then would my event works ??

    groupexpand dynamic data #92439

    Hristo
    Participant

    Hello jahnvi25,

    Please, take a look at this example:
    https://www.jseditor.io/?key=grid-grouped-check-expand-event
    (It seems to work fine)

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.