.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
Post a Comment