private static ColumnAttributes getRowNoCol()
{
return new ColumnAttributes
{
HeaderCell = new HeadingCell
{
Caption = "No."
},
ColumnItemsTemplate = new TextBlockField(),
Width = 1,
PropertyName = "_Row_No.",
IsVisible = true,
CellsHorizontalAlignment = HorizontalAlignment.Center,
Order = 1,
IsRowNumber = true
};
}