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
525
Ignite Grid shows extra space on the left if the selection is enabled.
posted

Hello,

I have enabled selection on ignite grid as following:

feature.Selection().Mode(SelectionMode.Row).MultipleSelection(false);
feature.RowSelectors().EnableCheckBoxes(false).EnableRowNumbering(false);

There is some extra space visible before the most left column I guess its the space where the checkboxes appear (if enabled). I am not sure how to tell the grid not to show that extra space on the left. 

Regards,

Arfan Baig

Parents
No Data
Reply
  • 23953
    Verified Answer
    Offline posted

    Hello Arfan,

    Yes, that extra space is where the checkboxes and row numbers are rendered.

    Since you don't use checkboxes and row numbers you can completely remove the RowSelectors feature.

    If for some reason you want to keep the RowSelectors feature, then you can control the width of the row selectors column with the rowSelectorColumnWidth option.

    Here is an example code:

    feature.RowSelectors().EnableCheckBoxes(false).EnableRowNumbering(false).RowSelectorsColumnWidth("0px");

    Hope this helps,
    Martin Pavlov
    Infragistics, Inc.

Children
No Data