Posted 20 September 2017, 10:01 am EST
I know i can use:
@(Html.C1().FlexGrid<Sale>()
.AutoGenerateColumns(false)
.Bind(bl => bl.Bind(Model))
.Width(620)
.CssClass("grid")
.Columns(bl =>
{
bl.Add(cb => cb.Binding("ID"));
bl.Add(cb => cb.Binding("Start"));
bl.Add(cb => cb.Binding("End"));
bl.Add(cb => cb.Binding("Country"));
bl.Add(cb => cb.Binding("Product"));
})
.HtmlAttribute("dir", "rtl")
)
To put the row header on the right of the page, however, when I do this I get an undesired result of all of the columns being oriented in a right alignment.
How can I write in style to ensure that each column is left aligned or to just put the row header on the right of the data grid?
Thank you in advance.
Matt