Hello guys. I've got unbound column, which is populated at grid_ItemDataBound handler
I would like add filtering,sorting functionality to this column. Standard SortExpression and filter doesn't help. What should I do?
Thanks, Andrew
<telerik:GridBoundColumn UniqueName=
"ActivityCategories"
HeaderText=
"Activity"
/>
protected
void
grid_ItemDataBound(
object
sender, GridItemEventArgs e)
{
if
(e.Item
is
GridDataItem)
{
var item = (GridDataItem)e.Item;
var templ = (SalesTemplate)item.DataItem;
string
activities = templ.ActivityCategories.Aggregate(String.Empty, (current, activity) => current + String.Format(
"{0},"
, activity.Name));
item[
"ActivityCategories"
].Text = activities.TrimEnd(
','
);
}
}
I would like add filtering,sorting functionality to this column. Standard SortExpression and filter doesn't help. What should I do?
Thanks, Andrew