BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
@Html.EJS().Grid("FieldList").AllowSorting(true).AllowPaging(true).DataSource(dataManger => { dataManger.Url("/TimeAndExpense/Field/UrlDatasource").Adaptor("UrlAdaptor"); }).Columns(col => { col.Field("Id").HeaderText("Id").IsPrimaryKey(true).Width("40").ValidationRules(new { required = true }).TextAlign(Syncfusion.EJ2.Grids.TextAlign.Right).Visible(true).Add(); col.Field("Week").HeaderText("Week").Width("40").ValidationRules(new { required = true }).TextAlign(Syncfusion.EJ2.Grids.TextAlign.Right).Visible(true).Format("yMd").Add(); col.Field("JobDescription").HeaderText("Job").Width("40").ValidationRules(new { required = true }).TextAlign(Syncfusion.EJ2.Grids.TextAlign.Right).Visible(true).Add(); col.HeaderText("Manage Records").Template("<a rel='nofollow' rel='nofollow' href='Edit/?Id={{:Id}}'>/Edit/{{:Id}}</a>").Add(); }).Load("loadFieldList").RowSelected("onRowSelected").Render() Results in the following
col.HeaderText("Manage Records").Template("<a rel='nofollow' rel='nofollow' href='Edit/?Id=${OrderID}'>/Edit/${OrderID}</a>").Add(); |