reactdatagrid icon indicating copy to clipboard operation
reactdatagrid copied to clipboard

💡 Allow client to control order of rowExpand column and checkbox column when used together

Open mijikim opened this issue 4 years ago • 2 comments

version: @inovua/[email protected]

Is there a way to place checkbox column first when setting both checkboxColumn and rowExpandColumn props to true? I tried setting columnOrder to ['__checkbox-column', '__row-expand-column', ...columnOrder] but it doesn't seem to have any effect on those columns.

mijikim avatar Jun 15 '21 22:06 mijikim

No, according to this section of code:

https://github.com/inovua/reactdatagrid/blob/master/community-edition/normalizeColumns/index.ts#L329

yurigenin avatar Jun 15 '21 22:06 yurigenin

Updating this ticket to feature request based on the code snippet shared above

mijikim avatar Jun 15 '21 23:06 mijikim