Hi I have a large data in cell when I scroll down to view the cell data it's jumping to next row so i couldn't view the full data.
I have a bool data cell on the same row byt default it is showing in centre of the cell. I am not able to see the checkbox because of this ;arge data in next cell in same row .
Any suggestion not to jump to next row when I croll.
Is there any way I can display this Checkbox on top of the cell instead of center.
Hi,
The grid's vertical scrolling is row-based. So if you have a single row that is taller than the grid, you will never be able to see the entire row. There's no way to scroll within a row.
You can align the CheckBox to the top of a cell, if you like, by using an UltraCheckEditor control. Place the UltraCheckEditor control on the form with the grid. Delete it's Text. Then set the CheckAlign property to align the CheckBox. Then set the grid column's EditorControl to the UltraCheckEditor.
Hi Mike,
In our grid, we need to have checkbox in check style column align to the top. We did that using UltraCheckEditor, but it goes all the way to the top, even for single line row. I tried to set margin and padding for the check box editor, but it didn’t make any difference. Is there a way to leave some space when the checkbox is set to align to top?
Thanks,
Crystal.
Hi Crystal,
There's a CellPadding property on the grid's Override object you can use to create some extra padding, but it works on all 4 sides, not just the top.
If that doesn't work for you, then the next step would be to use a CreationFilter and position the UIElements yourself.