I am trying to get my actionlinks to redner into one column. Currently I have them all laid out in individual columns, but can't figure out how to merge them into one.
.Columns(columns =>
{
columns.Bound(obcs => obcs.ProfileName).Title(xxx.Controllers.FieldTranslation.GetLabel(
"ProfileName"
, @xxx.DNetSynch.GlobalVariables.LanguageID));
columns.Bound(obcs => obcs.EEFinalize).ClientTemplate(
"#= EEFinalize ? 'Yes' : 'No' #"
).Title(xxx.Controllers.FieldTranslation.GetLabel(
"EEFinalize"
, @xxx.DNetSynch.GlobalVariables.LanguageID));
//columns.Bound(obcs => obcs.CCFinalize).ClientTemplate("#= CCFinalize ? 'Yes' : 'No' #");
columns.Bound(obcs => obcs.Completed).ClientTemplate(
"#= Completed ? 'Yes' : 'No' #"
).Title(xxx.Controllers.FieldTranslation.GetLabel(
"Completed"
, @xxx.DNetSynch.GlobalVariables.LanguageID));
columns.Template(@<text>
@Html.ActionLink(@item.ProfileID.ToString(),
"Index"
,
"OBProfileTasks"
,
new
{ @item.ProfileID })
</text>)
.ClientTemplate(
"<a class='k-button' href='./OBProfileTasks/Index/#= ProfileID#'>Tasks</a>"
)
.Title(xxx.Controllers.FieldTranslation.GetLabel(
"Tasks"
, @xxx.DNetSynch.GlobalVariables.LanguageID));
columns.Template(@<text>
@Html.ActionLink(@item.ProfileID.ToString(),
"Index"
,
"OBProfileTasks"
,
new
{ @item.ProfileID })
</text>)
.ClientTemplate(
"<a href='OBProfileTasks/Index/#= ProfileID#'><i style='color:black;' class='fa fa-plus fa-lg' title='Assign To Client'></a>"
)
.Title(xxx.Controllers.FieldTranslation.GetLabel(
"AssignToClient"
, @xxx.DNetSynch.GlobalVariables.LanguageID));
columns.Template(@<text>
@Html.ActionLink(@item.ProfileID.ToString(),
"Replica"
,
"OBProfile"
,
new
{ @item.ProfileID })
</text>)
.ClientTemplate(
"<a href='OBProfile/Replica/#= ProfileID#'><i style='color:green;' class='fa fa-clipboard fa-lg' title='Replicate'></a>"
)
.Title(xxx.Controllers.FieldTranslation.GetLabel(
"Replicate"
, @xxx.DNetSynch.GlobalVariables.LanguageID));
columns.Template(@<text>
@Html.ActionLink(@item.ProfileID.ToString(),
"Delete"
,
"OBProfile"
,
new
{ @item.ProfileID })
</text>)
.ClientTemplate(
"<a href='OBProfile/Delete/#= ProfileID#' onclick='return confirm_delete()' title='Delete'><i style='color:red;' class='fa fa-times fa-lg'></i></a> "
)
.Title(xxx.Controllers.FieldTranslation.GetLabel(
"Delete"
, @xxx.DNetSynch.GlobalVariables.LanguageID));
columns.Command(command =>
{
command.Edit();
// command.Destroy().HtmlAttributes(new { @class = "onboard-delete " });
}).Title(xxx.Controllers.FieldTranslation.GetLabel(
"Controls"
, @xxx.DNetSynch.GlobalVariables.LanguageID));
})