Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
165
ui.igGridRowSelectors.rowSelectorColumnWidth and ui.igGridResponsive feature
posted

Hi,

I have a problem when I activate the features "RowSelectors" (with enableCheckBoxes = true) and "Responsive".

I put the property ui.igGridRowSelectors.rowSelectorColumnWidth but when  "Responsive" is enabled, the width is not applied. This column contains only check box, I do not want it adapts automatically.

When I turn on igGrid.autofitLastColumn property, it works, but only the last column is adapted.

Thanks for your help

Parents
  • 3995
    Offline posted

    Thank you for posting into our community.

    If autofitLastColumn is disabled and the columns are not filling 100% of the width of the grid, row selectors might be trying to fill the empty space.

    So to resolve it you can pick one of the column, which are always in the view (a column which is never hidden by the responsive feature).And remove the width of that column, from column definitions. Just don't set width for it in the columns definitions.

    Using this approach that specific column would fill the gap and row selectors should have its width correctly set.

    I also recommend removing the width of more columns as possible when using the responsive feature.

Reply Children
No Data