Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grid - Support custom sorting in GridExporter #3040

Open
2 tasks done
DevExpressSupportTeam opened this issue Aug 17, 2020 · 3 comments
Open
2 tasks done

Grid - Support custom sorting in GridExporter #3040

DevExpressSupportTeam opened this issue Aug 17, 2020 · 3 comments
Labels
enhancement Grid The DevExtreme Reactive Grid component STATE: Need response

Comments

@DevExpressSupportTeam
Copy link

DevExpressSupportTeam commented Aug 17, 2020

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

I'm using ...

  • 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

@artem-kurchenko artem-kurchenko changed the title T922867 - React Grid - Support custom sorting in GridExporter React Grid - Support custom sorting in GridExporter Aug 17, 2020
@artem-kurchenko artem-kurchenko changed the title React Grid - Support custom sorting in GridExporter Grid - Support custom sorting in GridExporter Aug 17, 2020
@theMattCode
Copy link

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?

@Richardtugwell
Copy link

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

@bri-bsw
Copy link

bri-bsw commented Feb 2, 2021

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

@Krijovnick Krijovnick added the Grid The DevExtreme Reactive Grid component label Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Grid The DevExtreme Reactive Grid component STATE: Need response
Projects
None yet
Development

No branches or pull requests

6 participants