Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
445
Hyperlinks in row data
posted

Hi,

I need to add hyperlinks on the data that I am displaying in iggrid.

I have this code and it's not working.

 

@(Html.Infragistics().Grid(Model).ID("grid3")
            .Columns(column =>
            {
                column.For(x => x.Id).DataType("string").Template("${Id}").HeaderText("Customer ID");
                column.For(x => x.ProductName).DataType("string").HeaderText("Name");
                column.For(x => x.CategoryID).DataType("string").HeaderText("Cat");
                column.For(x => x.SupplierID).DataType("string").HeaderText("sup");
            })
            .Features(features =>
            {
                features.Paging().VisiblePageCount(5).ShowPageSizeDropDown(true).PageSize(10).PrevPageLabelText("Previous").NextPageLabelText("Next");
                features.Sorting().Mode(SortingMode.Single).ColumnSettings(settings =>
                {
                    settings.ColumnSetting().ColumnKey("Id").AllowSorting(true);

                });
            })        
            .Width("100%")
            .Height("350px")
            .DataBind()
            .Render()       
        )
What am I doing wrong?
 
Thanks.
Parents
No Data
Reply Children