Hello,
I'd like to limit the hilighting in my datagrid to only 2 selections.
Any ideas on how to do this?
Thanks.
Limiting datagid selection hilite
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Limiting datagid selection hilite
Hi.
Do you mean limit to two lines? Or did you want to be able to select two fields?
If the former, you can use the "dgHilitedLines" property, and store and limit the selection history as it develops, perhaps deSelecting any lines that are "too old".
Craig Newman
Do you mean limit to two lines? Or did you want to be able to select two fields?
If the former, you can use the "dgHilitedLines" property, and store and limit the selection history as it develops, perhaps deSelecting any lines that are "too old".
Craig Newman
Re: Limiting datagid selection hilite
Thanks so much. I'll give that a go.