You are not logged in.
This forum has been archived and no longer accepts new user registrations. Please report your questions, problems, and feedback to the issue page of ReoGrid on GitHub. Thank you for your cooperation.
Pages: 1
What is the best way to pad a cell so that a dropdown control can be right aligned with the text showing, currently the dropdown button covers the text. Thanks
Offline
You can give cell a padding at right by setting the indent:
var dropdown = new DropdownListCell("AA","BB");
var cell = sheet.Cells["B2"];
cell.Style.Indent = 3;
cell.Style.HAlign = ReoGridHorAlign.Right;
cell.Body = dropdown;
Offline
Pages: 1