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
4040
Recursive loop through grid layouts hierarchy
posted

Hi,

I am trying to use igHierarchicalGrid with several levels.
I understood one grid is generated for each level.

Now, I need to iterate recursively through grid hierarchy to change options on each grid (ex : change "editMode" to "none").

I saw the following article : http://www.infragistics.com/community/blogs/damyan_petev/archive/2012/10/26/igniteui-jquery-grid-unbound-columns-updating-and-hierarchy.aspx. (chapter "Setting values and child column layouts").
I also had a look at  this jsfiddle example : http://jsfiddle.net/damyanpetev/eMYCS/

But method provided is not working.
"$('#grid').data('igHierarchicalGrid').allChildrenWidgets()" always return empty array.

So, do you know a way to change options on each grid of a hierarchy ?

Thanks.

Alain. 

Parents Reply Children
No Data