jQWidgets Forums

jQuery UI Widgets Forums Grid Access to nested subgrids

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Access to nested subgrids #57674

    jzhanglsw
    Participant

    Hi, I utilized multiple jqxGrids in my current web application and in some of these jqxGrids I also have nested subgrids attached to each row. For the first layer jqxGrid, I am able to reference the jqxGrid via jquery but from looking at the API, I could not find a straightforward way to access the subgrids. I need to be able to specifically access each subgrid in order to call the resizecolumn method because certain columns within the subgrid need to be resized automatically while others need to be hard coded. Any help with ways to systematically access these subgrids would be very helpful.

    Another issue I am noticing is that the column widths are not adjustable even though I’ve turned on that feature when creating the nested subgrid. Is this a known issue as well?

    Access to nested subgrids #57687

    Dimitar
    Participant

    Hello jzhanglsw,

    1) There is no direct way of accessing nested grids. You would have to store the jQuery selection from which each of them is initialized in initrowdetails (e.g. in an array) to be able to call their methods at a later point in time.

    2) There are no known issues with nested grids column resize. You need to set the nested grid’s columnsresize property to true and include a reference to the file jqxgrid.columnsresize.js in your page.

    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.