Is there a way to add padding to the right of the grid or a column? If I have columns sized to the width of the grid, but my right-hand column contains right-justified text, the text value appears too close to the edge of the grid for my liking. I would like to create a gap of a few pixels to make it more visually appealing.
The only way I have found to do this is to add a blank column to the right of my existing column and size it as small as I can. However, it seems the smallest I can make a column is 14 pixels - any width smaller than this is ignored.
Thanks.
Hello campbell ,
Thank you for contacting. Adding padding to the right of an UltraGrid column can be achieved by using the CellAppearance property of the column.
ultraGrid1.DisplayLayout.Bands[0].Columns["MyColumn"].CellAppearance.Padding.Right = 10
Hope this will help, if not then may be explain the scenario and share your sample for me to try and test the options.
Hi Divya. Thanks for your reply.
This sounds like it is exactly what I'm looking for. Unfortunately the column CellAppearance doesn't have a Padding property in my version (24.2). Can you please confirm?