[wxruby-users] A grid without row labels?
Alex Fenton
alex at pressure.to
Tue Nov 11 19:39:03 EST 2008
Hi Omar
Omar Hernandez wrote:
> I'm working on a grid of many rows and one column
> For example: if I want to show the name of the states, I only need their
> names and nothing more, so the grid will be a many rows(number of
> states) and one column(name).
>
>
> The point is that I dont want the lavels of the rows on my left, I only
> want the cell but no row names.
Simply, with a Wx::Grid
grid.set_row_label_size( 0 ) # or
grid.row_label_size = 0
But I wonder if Wx::Grid is the best control for this. Have you looked
into Wx::ListCtrl (especially with the Wx::LC_REPORT style)? It will
display a list of items with multiple text columns per item.
a
More information about the wxruby-users
mailing list