Link to home
Start Free TrialLog in
Avatar of RySk8er30
RySk8er30

asked on

Keep row at top of datagridview

I have a datagridview that has a few rows in it.  Is there a way to keep an item always at the top of the row even if the sort order gets changed?  For example...

ALL
Item1
Item2

ALL
Item2
Item1

Also, can I make the text "ALL" bold?
ASKER CERTIFIED SOLUTION
Avatar of PockyMaster
PockyMaster
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of hatem72
hatem72



try 2 freeze the First row ... i didnt test it ...but i think it will work

DataGridViewRow.Frozen Property

http://msdn2.microsoft.com/en-US/library/system.windows.forms.datagridviewrow.frozen.aspx
Avatar of RySk8er30

ASKER

Freezing the row doesn't work.  I believe this is only for scrolling.