D
David Cartwright
Hi all,
I'm using a DataGrid to present a tabulated list (actually a list of users
logged in to my phone system) - it seemed the most appropriate control. As
stuff happens on the phone system, my program changes the colours of various
lines - so if someone's on the phone their line would turn red, when they
hang up it turns green, and so on.
The thing is, though, when you re-order the grid elements by clicking on the
column headers, the colours vanish.
Is there a cunning way to make a DataGrid remember what colour each line is,
or am I going to simply have to handle it myself by catching the re-order
event and restoring the colouring?
Thanks in advance,
David C
I'm using a DataGrid to present a tabulated list (actually a list of users
logged in to my phone system) - it seemed the most appropriate control. As
stuff happens on the phone system, my program changes the colours of various
lines - so if someone's on the phone their line would turn red, when they
hang up it turns green, and so on.
The thing is, though, when you re-order the grid elements by clicking on the
column headers, the colours vanish.
Is there a cunning way to make a DataGrid remember what colour each line is,
or am I going to simply have to handle it myself by catching the re-order
event and restoring the colouring?
Thanks in advance,
David C