Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am using the ShieldUI jQuery grid component.
I have built a hierarchical structure, which is working well.
However, I have a requirement, where I need to only display the expand/collapse symbol/column if there are detail records on the lower levels and not display it otherwise.
Any pointers are appreciated.
Posted

1 solution

To achieve this functionality with the ShieldUI jQuery grid, you need to use a little bit of additional code and check the expandButtonCreate event handler for a specific value.
There is a good example available which demonstrated this functionality here:
https://demos.shieldui.com/web/grid-general/conditional-hierarchy

I hope this suggestion helps.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900