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
Hello Sushant,
I am just following up to check if you have any further questions regarding this matter. If so, feel free to contact me again.
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:
{ 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:
http://help.infragistics.com/Help/Doc/jQuery/2012.1/CLR4.0/html/Creating%20a%20Basic%20Column%20Template%20in%20the%20igGrid.html
http://www.igniteui.com/grid/column-template
Hope this helps. If you have any further questions feel free to update this thread.