Hi,
I am using Ignite 13.1 (recently upgraded from 12.2), and a new bug has appeared with the grid.
The grid in question is locally data bound (json) with the paging feature turned on.
When filtering is performed on the data set the page size drop down is removed. It is replaced with a description of the search results, such as '13 matching records'. See the attached image for an example of this.
This text is actually duplicated, it appears on the left and right side of the bottom bar.
We have logic that loads new data into this grid based on selections from other external combo boxes.
This is bound with js:
grid.igGrid("dataSourceObject", data);grid.igGrid("dataBind");
At the data bind event the paging feature is throwing an exception in its _injectGrid() function:
>cannot call methods on igEditor prior to initialization; attempted to call method 'option'
This if block is trying to set the page size on the unitialized igEditor. which causes the error (infragistics.ui.grid.paging.js):
if (this._pageSizeDD) { this._pageSizeDD.igEditor("option", "value", this.options.pageSize)}
For now I can work around this by turning off the page size dropdown. I do want to use the feature though.
Thanks,Chris
i need help in infragistics jquery grid which i am new to it.. if my scenario where i want to request page by page. for example if we have 1000 records in first request i send only 1st 100 records as json sent to datasource of the grid. but the problem it is showing only 1 page in the pagger dropdown but which is not correct which actually should contain 10 pages bcz page size -100 / total record -1000. i tried by below code to reset the total records count to 1000 by using below code: but didnt worked. $(“#grid1”).igGridPaging("option", "recordCountKey ",1000); So please give some samples to reset pagger dropdown value according to the total records.please help me it is very urgent. In advance Thank you..
Hello Chris,
This issue was reported sometime ago and was fixed in our latest SR 13.1.20131.2103.
Best regards,Martin PavlovInfragistics, Inc.
I added a button to re-bind the data, which reproduces the exception (see attached)
Filter on any of the columns, then click the 'rebind' button and the exception is generated.
Hi Mike,
I apologize, I didn't see the notification email when you replied before.
I have attached a modified version of your original example.
Filtering on any of the columns causes the '{0} matching records' string to appear on both the left and the right side.
The issue we are having is that once in this state if we try to re-databind the grid with a json source it causes an exception.
When the grid is rendering the data it attempts to initialize the paging feature, which fails because the page size DDL has been removed.
I tested this with the unmodified js and css folders from the "%programfiles(x86)%\infragistics\IgniteUI 2013.1" install directory.
I am following up to see if you can provide me with answers to my questions. Please let me know if I may be of further assistance with this matter.
Sincerely, Mike P. Developer Support Engineer II Infragistics, Inc. www.infragistics.com