machinableed
Apr 10, 2012, 4:01 AM
It appears that Command Columns in the gridpanel ignore the align and text attributes? For example, in the code below the column header text "Product Instance" doesn't appear and the image is left aligned:
columnModel.Columns.Add(Html.X().CommandColumn()
.Align(Alignment.Center)
.Text("Product Instance")
.Width(30)
.Commands(commands => {
commands.Add(Html.X().GridCommand()
.Icon(Icon.Outline));
}));
If I use a standard column, the text/alignment seems correct... am I doing something wrong here or is this a bug?
columnModel.Columns.Add(Html.X().CommandColumn()
.Align(Alignment.Center)
.Text("Product Instance")
.Width(30)
.Commands(commands => {
commands.Add(Html.X().GridCommand()
.Icon(Icon.Outline));
}));
If I use a standard column, the text/alignment seems correct... am I doing something wrong here or is this a bug?