You are not logged in.
This forum has been archived and no longer accepts new user registrations. Please report your questions, problems, and feedback to the issue page of ReoGrid on GitHub. Thank you for your cooperation.
I just seen another issue. When I take and press Delete or Backspace on a cell that has been styled it loose the VAlign and HAlign. I thought this was doing because I applied another style to it but i change code to have VAlign and HAlign and still does the samething..
'Sets Text Alignment
.SetRangeStyle(New ReoGridRange(0, 0, .RowCount, .ColumnCount),
New ReoGridStyleObject() With {.Flag = PlainStyleFlag.AlignAll,
.HAlign = ReoGridHorAlign.Center,
.VAlign = ReoGridVerAlign.Middle})
code for that last column
'Sets the background color and forecolor for last column cells
.SetRangeStyle(New ReoGridRange(1, (.ColumnCount - 1), (.RowCount - 1), 1),
New ReoGridStyleObject() With {.Flag = PlainStyleFlag.BackColor Or PlainStyleFlag.TextColor _
Or PlainStyleFlag.FontSize,
.BackColor = Color.Black,
.TextColor = Color.White,
.FontSize = 8})
shane
Last edited by asparatu (2014-12-25 12:14:40)
Offline
Yes this is a problem, let me fix it. Your code looks nice!
Offline
Hello Jing,
Thank you...hehe
Shane
Offline