horizontal scroll in iggrid
New DiscussionHello,
We are using igGrid like a core component and using it in several other components. In our component we have an option to show/hide colum by using “columchooser” option.We are facing an issue with width of colum and horizontal scrollbar
if we set Grid width to “100%” & “defaultColumnWidth” for example to “140px” and initially we have only 3 colums then table colums getting shrinked(not occupying entire grid width) or last colum occupying entire remaining width. Can refer below screenshots.
gridOptions = {
}


if we give “defaultColumnWidth” in pixels then if we choose more colums from “columchooser” horizontal scrollbar disappears. Can see in below screenshot.
gridOptions = {
}

How to adjust width initially and with colum chooser with horizontal scrollbar?