React-data-grid: Column drag double click updates wrong column when row select is enabled

Created on 17 Feb 2016  路  2Comments  路  Source: adazzle/react-data-grid

The column index received in the cell drag double click event includes the "Row select checkbox" column, but the column index on update does not start from the "Row select checkbox" column.

Thus, on column cell drag double click when row select is enabled, it will always update one column to the right.

bug

All 2 comments

thanks for reporting this. We will take a look and fix

In the meantime we have implemented a new handleGridRowsUpdated function which we recommend using that gets triggered on all updates, either via cell editor, cell drag, copy/paste or dragHandleDoubleClick.

This saves you from having to implement 4 different update methods. You can see an example here
http://adazzle.github.io/react-data-grid/examples.html#/all-the-features

and the column drag handle does not update the wrong column in this case

This is fixed in the current release.

Cheers.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SupernaviX picture SupernaviX  路  3Comments

GenoD picture GenoD  路  3Comments

soma83 picture soma83  路  4Comments

ryanwtyler picture ryanwtyler  路  3Comments

daniel1943 picture daniel1943  路  3Comments