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 Sushant Zanzane,
Can you provide a sample or a grid configuration for me to investigate? Also, which version of the Ignite UI are you using? You can get the Ignite UI version by executing the following code in the browser console:
$.ui.igGrid.version
Thanks in advance,Martin PavlovInfragistics, Inc.
Hi martin,
here is the code
and currently i am using Ignite UI 2013.1
the data which i want to show is showing me right now, but not in respective columns
can you send me the mail id so i can send you the screen shot where you can get and idea.
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.
Hello,
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
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.
Hi,
the sample which martin provides me is not the one which can reproduce the issue.
make a sample with empty rows in it and then try to add new rows in it then you can see the issue.
Thanks.