devextreme-reactive icon indicating copy to clipboard operation
devextreme-reactive copied to clipboard

Grid - Support custom sorting in GridExporter

Open DevExpressSupportTeam opened this issue 5 years ago • 3 comments

  • [x] I have searched this repository's issues and believe that this is not a duplicate.

I'm using ...

  • [x] Reactive Grid

Example

https://codesandbox.io/s/stoic-aryabhata-iwv2p?file=/demo.js

Info

React Grid's GridExporter doesn't allow specifying the IntegratedSorting.ColumnExtension option.

Actual behavior

Standard sorting is applied

Expected behavior

Custom sorting should be applied

Workaround

Obtain sorted rows via a custom plugin registered after the IntegratedSorting plugin. Then, pass these rows to GridExporter via the rows option.

https://codesandbox.io/s/react-grid-custom-sorting-in-gridexporter-7f1zg

DevExpressSupportTeam avatar Aug 17 '20 12:08 DevExpressSupportTeam

Would highly appreciate if this would be available.

I tried the workaround but ended up in a loop where the Getter-Plugin's computed callback has been called over and over again. Is this a known issue?

theMattCode avatar Dec 23 '20 13:12 theMattCode

Would highly appreciate if this would be available.

I tried the workaround but ended up in a loop where the Getter-Plugin's computed callback has been called over and over again. Is this a known issue?

I also experienced this problem implementing the workaround - resulting in memory leak in our case

Richardtugwell avatar Jan 25 '21 13:01 Richardtugwell

Would highly appreciate if this would be available.

I tried the workaround but ended up in a loop where the Getter-Plugin's computed callback has been called over and over again. Is this a known issue?

Hello, I also implemented the workaround in our project and ended up in a loop. I didn't found a solution yet. Is there another way to use custom sorting in GridExporter? Thank you in advance. Regards, Patrick

bri-bsw avatar Feb 02 '21 13:02 bri-bsw