jQuery UI Widgets Forums Grid Hide details column icon

This topic contains 3 replies, has 2 voices, and was last updated by  Dimitar 10 years, 2 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Hide details column icon #57660

    Shiva shankar. C
    Participant

    Hi Guys,

    I have a scenario in grid i have some child details need to show and am using nested grid method.
    In my case some data has child and some not, for data which doesn’t have data i need to hide arrow icon of “showrowdetailscolumn”

    Hide details column icon #57665

    Dimitar
    Participant

    Hello Shiva shankar. C,

    This is not supported through the grid’s API, but you can call the following line:

    $("#jqxgrid .jqx-grid-cell-pinned").eq(1).css("background-image", "none");

    in the grid’s ready callback to hide the arrow of a particular row (the index should be passed as a parameter to the .eq() method).

    Best Regards,
    Dimitar

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

    Hide details column icon #57755

    Shiva shankar. C
    Participant

    Thank you Team it is working for me i added this code to my grid it was working fine for first time,
    the problem is when you enable scroll bares to grid.
    the image is not resetting

    Hide details column icon #57756

    Dimitar
    Participant

    Hi Shiva shankar. C,

    As I stated, this functionality is not actually supported and the workaround may not work in all cases (in this case, the grid re-renders when scrolling). Unfortunately, we cannot provide you with a solution.

    Best Regards,
    Dimitar

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

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

You must be logged in to reply to this topic.