Apply DataView.Sort once, for sorting snapshot, data update should not resort
From: Stefan (omtslug_at_yahoo.se)
Date: 07/08/04
- Next message: Jeepers: "SQLClient: Total # Failed Connects -> always increasing..."
- Previous message: Jay B. Harlow [MVP - Outlook]: "Re: DataSet.Merge / auto number on PK -> duplicated rows problem"
- Next in thread: William Ryan eMVP: "Re: Apply DataView.Sort once, for sorting snapshot, data update should not resort"
- Reply: William Ryan eMVP: "Re: Apply DataView.Sort once, for sorting snapshot, data update should not resort"
- Messages sorted by: [ date ] [ thread ]
Date: 8 Jul 2004 07:24:25 -0700
Hi.
Is there anyone who knows how I can use a datatable, dataview (and datagrid)
and have the sorting that I specify, DataView.Sort="col dir", to only be
evaluated when set (once) and not have the view resorted constantly.
Currently I'm drowned with Moved events.
If I try to do this smart stuff dv.Sort = "colA ASC"; dv.Sort = ""; the
view immediately goes back to some default sort. (primary key in table)
The datatable holds dynamic data that is update continously but I don't want
my grid rows to fly around.. sigh
Regards & TIA
/Stefan
- Next message: Jeepers: "SQLClient: Total # Failed Connects -> always increasing..."
- Previous message: Jay B. Harlow [MVP - Outlook]: "Re: DataSet.Merge / auto number on PK -> duplicated rows problem"
- Next in thread: William Ryan eMVP: "Re: Apply DataView.Sort once, for sorting snapshot, data update should not resort"
- Reply: William Ryan eMVP: "Re: Apply DataView.Sort once, for sorting snapshot, data update should not resort"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|