GWT DataGrid column width issue after removing columns -


in our gwt application create datagrid , fill n columns. @ specific conditions need remove couple columns datagrid. when so, have problem column widths shifted previous amount of columns resulting datagrid doesn't take full proper width.

checking html code of datagrid, have found out after removing column datagrid, colgroup element of table contains col elements matching previous old amount of columns. colgroup element breaking layout.

resetting column width, datagrid width, calling datagrid.redraw() don't this. there workarounds or solutions?

this known issue, , couple of (partial) workarounds have been proposed in issue tracker. issue had been diagnosed knowledge no 1 took stab @ turning patch, reason it's still not fixed 4 years later (put differently: no 1 seems care enough it)


note: issue tracker being moved github given imminent shutdown of google code hosting. if read , link above doesn't work, try searching issues in github project


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -