Please let me know how we can do ColumnSeparator = true in ultragrid. I do not want RowSeparator or cell separator.
Your help is much appreciated.
Thanks
Manish
Hi,
I don't understand your question. What exactly is a ColumnSeparator?
Mike, I want to see the data in a Grid fashion with a thin line after each column (separating each column), But i don't want any line separating the Row.
So here is the scenario:
gridLayout.Override.BorderStyleCell =
UIElementBorderStyle.None;
gridLayout.Override.BorderStyleHeader =
UIElementBorderStyle.RaisedSoft;
gridLayout.Override.BorderStyleRow =
This gives me a Grid with only Header having a separating line. I want that line to be stretched upto the last row.
Please let me know if i am able to explain.
I apologize for making a mistake, Mike.
It looked like it didn't have any samples when I looked at it, but I wasn't looking carefully.
Thank you for pointing them out and attaching the samples. :-)
Hi Robert,
I'm not sure what you mean. There are both VB and C# samples available for download with the article.
Here are the links:
ultrawingrid_vertical_borders_only_cs.zip
ultrawingrid_veritical_borders_only_vb.zip
Mike Saltzman said: Oh, so you want this: HOWTO:How can I make UltraWinGrid display vertical (column) borders without horizontal (row) borders?
Oh, so you want this:
HOWTO:How can I make UltraWinGrid display vertical (column) borders without horizontal (row) borders?
This link doesn't have any sample projects or code. :-\
Well, it really comes down to a decision about the structure of the UIElements in the grid. The current structure has a RowUIElement which contains the CellUIElements.
I suppose it could have been done the other way using a ColumnUIElement that contained the CellUIElements, but that doesn't really make sense, since the column is likely to be much larger than the row and the data binding model in DotNet is row-based. You get the data based on a row first, then a column, not a column first and then a row.
Hi Mike, I kind of agree to what you are saying but this what my argument is: