Wayne
  • Wayne
  • Newbie Topic Starter
2016-03-30T16:36:21Z
Hi,

I am evaluating the iGrid (which I like a lot so far! :-)) and I am trying to understand how to display the RowTextCell. I looked at the outlook example, but I am evidently missing an important step because I am unable to display the rowtextcell. Below is a basic example (I named the iGrid component Grid1) of what I am trying to do. The "Hello" (which I want to display below |Cell text | 54321 | ) does not show. What am I missing?

Thank you!

Regards,

Wayne

Private Sub TestiGrid
Grid1.BeginUpdate()
Grid1.Cols.Count = 2
Grid1.Rows.Count = 5
Grid1.Cells(0, 0).Value = "Cell text"
Grid1.Cells(0, 1).Value = "54321"
Grid1.Rows(0).RowTextCell.Value = "Hello"
Grid1.Rows(0).AutoHeight()
Grid1.Cells(2, 1).Value = 123
Grid1.EndUpdate()

end sub
Igor/10Tec
2016-03-31T07:33:22Z
To enable drawing of row text, you need to enable this explicitly and use iGrid in row mode:

Grid1.BeginUpdate()

   Grid1.RowMode = True
   Grid1.RowTextVisible = True

Grid1.Cols.Count = 2
Grid1.Rows.Count = 5
Grid1.Cells(0, 0).Value = "Cell text"
Grid1.Cells(0, 1).Value = "54321"
......

All this is described in greater details in the manual:

Row Text Cells - Manual.png

Click to View Image87 View(s)



However, feel free to ask us if you can't find an answer by yourself 😉
Users browsing this topic