.net - Datatable reset to initial sort order -


is there way remove sort order datatable? know function datatable.select sort using specific column (or combination of columns) remove sorting completetly.

to explain little bit more: unknown number of unsorted data rows in string, show in datagrid control.

due performance reasons data transfered datatable (call "init_data") , datatable bound datagrid (wpf right not important problem).

during sorting in datatgrid, have sort "init_data" using select function. might thousands of rows, cannot keep original "init_data" have transfer sorted data new datatable (call "sort_data")

but once datatable sorted, cannot display original sort order again.

any ideas? regards klaus

create column support sort , number 1 - x.
sort on column original back.


Comments

Popular posts from this blog

javascript - How to name a jQuery function to make a browser's back button work? -

collision detection - C++ library for mesh to mesh intersection: what is available? -

python - Django-easy-pdf: xhtml2pdf reporting reportlab 2.2+ is required, but 3.0 installed -