I have several questions while using UltraGrid:
Any comments are much appreciated.
Thanks
1) You could use an UltraCheckEditor as the EditorControl of the column, setting the CheckAlign property of the control to "TopCenter"
2) Try setting the Indentation property on the band to 0.
3) I don't think that you can specify that the grid should only scroll the row into the bottom instead of all the way to the top, though if you're referring to one of the last rows and this is causing empty space to be shown, you could set grid.DisplayLayout.ScrollBounds to ScrollToFill.
-Matt
Thank you Matt for your suggestions. They work perfectly, except for question 2. I set ColHeadersVisible to false for the first band, and ColHeadersVisible to true and HeaderPlacement = HeaderPlacement.FixedOnTop for the second band. I do want the indentation between each band, just hope the left side column header would extended all the way to the left to make the grid look nicer.
I do have another issue with checkbox style column, sometimes when clicking on a checkbox, the SizeChanged event for the grid was triggered, it doesn't happen all the time. I can disable the SizeChanged event when use clicking on a checkbox, but just wonder why it's happening.
Are you referring to the area above the row selector? If so, you can set the RowSelectorHeaderStyle to ExtendFirstColumn.
I'm not really sure why the SizeChanged event would be firing in your case, since I can't think of why clicking a cell would cause the grid's size to change. I tried this out and couldn't reproduce the issue; can you attach a small sample that replicates the issue? You can attach files through the Options tab that is shown when you reply to a message.