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
1045
nested iggrid event not fired
posted

Hi experts,

I'm trying to capture dataRendered or rowsRendered event of an inner grid, but no one fried. What i'm doing wrong? Please take a look at the underscore lines. Thanks in advance.

            $("#hierarchicalGrid").igHierarchicalGrid({
                width: "100%",
                dataSource: data, //Array of objects defined above
                autoGenerateLayouts: false,
                childGridCreated: function (evt, ui) {
                    debugger;
                    alert('aa');
                },
                childrenPopulated: function (evt, ui) { debugger; alert('bb'); },
                columns: [
                    { headerText: "Food", key: "Food" }
                ],
                columnLayouts: [{
                    key: "Products",
                    autoGenerateColumns: false,
                    columns: [
                        { headerText: "Name", key: "Name" },
                        { headerText: "Quantity", key: "Quantity" }
                    ],
                    rowsRendered: function (evt, ui) {
                        debugger;//not fired
                    },
                    dataRendered: function (evt, ui) { debugger;}
                }]

            });