Hi Balaji Sekar,
Actually, I found a way to work with.
columns has started to be resized as I expect setting column.width in javascript code after I invoked grid.autoFitColumns()
to summarize my code:
grid is rendered through asp net core razor page as
<ejs-grid id="myGrid" width="100%" height="100%" ...>
then, in browser script, if a given column width is set with a new value, it works, but also changing other columns widths, maintaining the overall width of the table portion of the grid ( as my second drawing in original post)
myGrid.columns[idx].width = "150px";
later, through another feature, in my javascript code, columns are autofitted based on their contents, with this call:
from this point, when column width is set in client-side script:
myGrid.columns[idx].width = "150px";
column is correctly resized and also other columns in the grid maintain their current width, resulting the table portion of grid changes width, as my first drawing in the original post.
Can you please explain to me what is changing in the grid properties before and after the call to autoFitColumns, concerning behaviours when setting the width?
Thank you,
Silvia