Hello,
I have the need to sort a column of strings using a subset of the string parsed into an integer. For example:
AA1
AA2
AA3
AB4
CC5
I need the sorting to strip out all alpha's and sort by the integer. Please advise how I can do this using the following implementation:
I have the need to sort a column of strings using a subset of the string parsed into an integer. For example:
AA1
AA2
AA3
AB4
CC5
I need the sorting to strip out all alpha's and sort by the integer. Please advise how I can do this using the following implementation:
@(Html.Kendo().Grid(Model)
.Name("Grid")
.Columns(columns =>
{
columns.Bound(p => p.Id).Width(60);
columns.Bound(p => p.Title).Width(250);
})
.Sortable()
.DataSource(dataSource => dataSource
.Ajax()
.PageSize(10)
.Read(read => read.Action("Get", "Grid", new {view = "MyActive", showAll = false}))
)
)