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
545
Issues in infragistics and new request for creatting link.
posted

Hello,

When i am try to convert last column of infragistics grid into readonly format by following code, it still editable

{ columnKey: "Type", readOnly: true }

And

2. Can i convert one of the column data into link, if yes then how can we do that please provide me one example.

Thanks

Sushant Zanzane

Parents
  • 3595
    Suggested Answer
    posted

    Hello Sushant,

    Thank you for posting in our community!

    To your first question: you test your project by setting the read only property as it is shown below:

    $("#grid1").igGrid({

        columns: [

        {headerText:"Product ID", key:"ProductID", width: "100px" , dataType:"number"},

             …

    ],

        features: [

            {

                name: 'Updating',

                   columnSettings: [

                              {

                                       columnKey: "ProductID",

                                       editorOptions: {readOnly: true}

                              }

    More information on the igGrid updating configuration could be found at the following resource: http://help.infragistics.com/Help/Doc/jQuery/2012.1/CLR4.0/html/igGrid_Updating.html

    To your second question – a possible approach is using column templating:

    $("#grid1").igGrid({

        columns: [

                   { headerText: "Resource", key: "Link", dataType: "number", template: "<a href='${Link}'>${Link}</a>", width: 150},

    ]

    More information on column templating could be found at the links below:

    Hope this helps. If you have any further questions feel free to update this thread.

Reply Children
No Data