Editable Grid

Certified Lead Developer

Is there any way to remove select all checkbox in editable grid?
we have requirement to select 1 item at a time. there is grid validation of selecting 1 item at time.
it shows error but is there any way to not even allowing to check the select all checkbox?

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    18.2 introduces a feature called "ROW_HIGHLIGHT". which can solve the header checkbox issue. Instead of selecting checkbox, you can click anywhere on your row to select it.
    In the previous versions, you cannot remove the select all checkbox. However you can design your grid to only allow one selection at a time which will automatically not allow you to check the select all checkbox.

    You can make use of the selection disabled feature of a!gridRowLayout() for that or you can write a logic that would allow only one selection and automatically uncheck the previous selection if any.

Reply
  • 0
    Certified Lead Developer

    18.2 introduces a feature called "ROW_HIGHLIGHT". which can solve the header checkbox issue. Instead of selecting checkbox, you can click anywhere on your row to select it.
    In the previous versions, you cannot remove the select all checkbox. However you can design your grid to only allow one selection at a time which will automatically not allow you to check the select all checkbox.

    You can make use of the selection disabled feature of a!gridRowLayout() for that or you can write a logic that would allow only one selection and automatically uncheck the previous selection if any.

Children
No Data