Now I am using infragistics igrid control when it showing me data it does not display the data of the records in the respective columns.
Normal 0 false false false EN-IN X-NONE X-NONE
When I am look in to this I found that the first two columns are combining with each other.
Can you please look into this and tell me what to do.
Hello,
I am still following you issue, did you managed to resolve it?
Hello sushant zanzane,
Thank you for your patience. I have modified Martin's sample in order to add a new row within the igGrid when there are no records in it. The issue doesn't show, the changes that I've made:
$("#addBtn").click(function(){ var newRow = { Oid: 1, FunctionalID: 1, Name: "Name 1", TopicPath: "topic 1", PreparationStatus: "status", Risk: "Low", Owner: "none", PreparationUser: "user", ExecutionUser: "user", Complexity: "easy", Priority: "Normal", DocumentationLevel: "1", TestCaseCount: 2, TestCount: 2, Description: "N/A" };
$("#grid1").igGridUpdating("addRow", newRow); });
It will be highly appreciated if you could reproduce the issue based on the isolated sample that I am attaching you now.
Also you can find it online here:
http://jsfiddle.net/zdravko/en7SE/
Looking forward to hearing from you.
I wanted to let you know that I am currently looking into this.
Hi Martin,
Here when i am creating the data on success of the ajax call i am calling following method
$('#itemgrid').sqsTestItemTable("addTestItemsToTable",items);
the method is as follows
addTestItemsToTable: function (items) { for (var i = 0; i < items.length; i++) { var newRow = JSON.parse(items[i]); $(this.element).igGridUpdating("addRow", newRow); this.options.testitemlist[this.options.testitemlist.length] = newRow; } },
where i am using igGridUpdating.addRow APIbut when the table is totaly empty it will add rows but not in the respective columns
o. w. it's working great.
Thanks,
Sushant Zanzane
SQS India
Hello Sushant Zanzane,
In your code you've disabled adding a new row from the UI, so my question is what API are you using to add rows to the grid. Is it igGridUpdating.addRow or igGrid.renderNewRow or igGrid("option", "dataSource", ds);
To be honest I've also tested with an empty data. When I use igGridUpdating.addRow API I cannot reproduce the issue.
Best regards,Martin PavlovInfragistics, Inc.