Category : w2ui

I created a grid contain columns of the same size using the w2ui grid . When I scroll fastly, the expanded grid got hidden suddenly and I am not able to expand it again. This is my code: $(‘#grid’).w2grid({ name: ‘grid’, header: ‘List of Names’, show: { toolbar : true, footer : true, expandColumn: true ..

Read more

Does anybody use w2ui-table? I cannot figure out how to make it take 100% of its container. The html looks like this: <div id="a" style="width:100%"> <!– top left container–> <div>This is a table header</div> <div id="grid" style="width: 100% !important; height: 100%;"></div> The javascript looks like this: function addWatchlistTable() { $(function () { $(‘#grid’).w2grid({ name: ‘grid’, ..

Read more

I have a nested grid based on w2ui library. I’m trying to add a children to a specific row but I can’t make it work. Here is my code : const id= w2ui[‘grid1’].getSelection()[0]; const node= w2ui[‘grid1’].get(id); w2ui[‘GRIDNAME’].get(id).w2ui.children.push({data_To_Insert}) w2ui[‘GRIDNAME’].refresh(); Could someone explain to me why is this not working? Thanks Source: Ask Javascript..

Read more