Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
80
Render page size drop down outside of the grid
posted

In an old version (2012) we were able to render the page size drop down outside of the grid by calling ourself the private method _renderPageSizeDropDown of the igGridPaging widget

But since at least V2013.2 this doesn't works any more because the method create the element into the specified parent, but then search it by id in the scope of the grid container to associate it to the igEditor widget (and do not found it when calling it with a prent outside of the grid)

Our problem is not common, because we call a "private method", but we need it to display the drop down in a custom header that is above the grid, so we forked locally the code.

But the fix that we apply to our copy of the script could also be interpreted as a performance fix, as it avoid a search by id in the grid container.

Here, a patch file that show you how we fixed the _renderPageSizeDropDown method (compared to version 15.1.20151.1005 of infragistics.ui.grid.paging.js)

https://drive.google.com/file/d/0B0PnYVNevyl0RWJOSFo0azVET0U/view?usp=sharing

Can we expect that this modification will be included in a future release ?

Parents
  • 17590
    Verified Answer
    Offline posted

    Hello Nivet,

    Thank you for your feedback. We appreciate that you took time to convey your comments and I assure you that we consider our customer feedback to be crucial for steering improvements at Infragistics. After some research our developers determined that functionality you take advantage of was changed as part of a fix for another issue.
    While your code looks fine we don't want to take the risk to break any existing functionality including it into the product, moreover even including it will not guarantee you that we won't change it in the future to suit our needs. After all that's a private function as you noted.

    We're open to discuss any public API additions/changes through our product ideas site.

    I hope you find this information helpful.

    Please let me know if you need any further assistance with this matter.

Reply Children
No Data