100% dhtmlxGrid column width

I would like to create a table similar to a Windows Explorer list view where the grid takes up 100% of the page width, and the last column is just a filler column taking up the remaining width to fill up 100% of the page.

Do you have a sample CSS or script to create this grid?

Such mode can be enabled by js command, while defining column widths you can use


The as width means that column will be created as filler, it will take all available space and automatically adjust on window resize.