Hello,
I can bind my json data to my igGrid, and all is good.
What if I want to add a small icon or a little "Click for details" link on each row. I'm searching the API docs for clues.
Here's what I have that is indeed working, but I'd like to add some columns.
thanks.
Bob
function DisplayAccountsGrid(jsonData, member) { var accountsJson = []; for (var i = 0; i < jsonData.length ; i++) { // TESTING.. accountsJson.push({"account": jsonData[i] }); }; $("#accountsGrid").igGrid({ autoGenerateColumns: false, width: null, // will stretch to fit data caption: "Accounts for: " + member, dataSource: accountsJson, columns: [ { headerText: "Account", key:"account", dataType: "string", width: "150px" }, ], primaryKey: "account", features: [ { name: "Sorting", type: "local" }, { name: "Tooltips", columnSettings: [{ columnKey: "account", allowTooltips: true }], visibility: "always", }, ], cellClick: function (evt, ui) { GetAccountDetails(evt, ui); } }); }
Hey,
you can use the unbound columns feature of the grid:
http://es.infragistics.com/products/jquery/sample/grid/unbound-column
Let me know if it helps. Thanks,
Angel