Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
245
igHierarchicalGrid - Hide expand button when row has no childs
posted

Hi, 

I need to hide the expand button when a row has no childs, not only when I click the row but always. How can I achieve this?

I tried to use the dataRendered event, and loop through ui.owner.allRows() and for each row I could hide the expander, but how can I get the item for a certain row of the ui.owner.allRows() method (in order to know if the item has or not childs).

Best Regards, 

Francisco Correia