NGTi Data Grid restoreColumnState not always working

Forum to discuss the new web client version of Servoy.

NGTi Data Grid restoreColumnState not always working

Postby Richard1521662995 » Tue Nov 19, 2024 10:07 pm

Hi,

Since moving from 2021.12 to 2024.9 the columnRestoreState() fails to restore the grid to the state it was in. I'm saving the grid state in a table in the onColumnStateChanged of the grid and restoring the grid settings in the onShow of forms. Have set the grid state as I want and saved and then disabled saving. After a grid has failed to restore the state correctly ig I log out and back into the solution the grid will restore correctly, so I am confident that the grid state has been saved correctly.

Have set the columnsAutoSizng to NONE and using the NG Grid Services set suppressAutoSize: true and suppressSizeToFit:true. With columnRestoreSate() have set the boolean options to true (even though that is the default) to true.

Any guidance on settings that work with columnRestoreState() will be greatly appreciated.

TIA
Richard Clarke
acss.co.uk
Richard1521662995
 
Posts: 43
Joined: Wed Mar 21, 2018 10:09 pm

Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 5 guests

cron