adamovic

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • in reply to: Expand All and Collapse All Functionality in Tree Grid #95803
    adamovic
    Participant

    Hey tony,

    could you make an (optional) expand all / callapse all buton in the header of jqgrid's containing subgrids? That feature seems to be convenient for some.

    tony said:

    HEllo,

    Try this (Not tested)

    $(“.treeclick”,”#mygrid”).each(function() {

    if($(this).hasClass(“tree-plus”) $(this).trigger(“click”);

    });

    Regards

    Tony


    in reply to: Add css classes to row (or cell?) from json data #95770
    adamovic
    Participant

    However, I also think that we might need a custom CSS for each cell and formatter shall not be used for it (because it clashes with some other stuff, like in my case).

    So one vote more for a new feature, something like cssUrl : 'someUrl'

    in reply to: Add css classes to row (or cell?) from json data #95769
    adamovic
    Participant

    This is something it seems we'll need (even more complicated binded with more features), you can use gridComplete to change CSS of rows/cellscurrently after the grid is rendered.

    To change row CSS you could use something like :

    And to change CSS of a cell

Viewing 3 replies - 1 through 3 (of 3 total)

Stay connected with us in your favorite flavor!