jQuery UI Widgets Forums Grid context menu for nested grid + insert animated gifs in cells

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 10 years, 5 months ago.

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

  • juanbill
    Participant

    Hi:

    I currently have implemented a right click context menu.
    I am after a nested grid and wanted to know (if its possible) to enable the right click context menu for the nested grid as well.
    If it is possible, am I able to reuse the same context menu?

    With the nested grid there is an expander icon (initially its pointing to the right ‘>’). When the user clicks on this icon,
    there is loading period where data is getting prepared for the nested grid. I am using websocket calls to do the load instead of
    ajax calls.

    Once the load is completed, the expander icon changes to pointing down ‘v’). Is it possible that during this time, I can put an animated loading gif in a cell just below it (or somewhere) temporarily?

    Thanks
    juanbill


    Dimitar
    Participant

    Hello juanbill,

    1) The context menu is a jqxMenu instance and can be used however you like. This means you just have to bind to the nested grids’ rowclick event and open the menu then. You can use the demo Context Menu as a reference.

    2) You can call the parent grid’s method showloadelement during loading and hideloadelement after the nested grid has loaded.

    Best Regards,
    Dimitar

    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.