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
175
column template and paging or scrolling problem
posted

Hello,

I set dropdown template for a column cell and all is good until I go to next page or scroll down then templates disappear from the column.

How to fix that?  thanks

 $("#grid1").igGrid({

                width: '100%',
                columns: DefaultColumns,
                dataSource: northwindCustomers,
                rendered: function (evt, ui) {

                    tmpl = "<div id=grdlist_${CustomerID}></div>";
                    $('#grid1').igGrid('setColumnTemplate', 'CompanyName', tmpl);
                },

                 features: [
                    {
                            name: 'Paging',
                            recordCountKey: 'TotalRecordsCount',
                            pageIndexUrlKey: 'page',
                            pageSizeUrlKey: 'pageSize',
                            pageSize: 5,
                            type: 'remote',
                            pageIndexChanging: function (evt, ui) {
                                var ds = $("#grid1").data('igGrid').dataSource;
                                ds.settings.urlParamsEncoded = function (item, params) {
                                    params.extraParams = {
                                        input: "text here"
                                    };
                                };
                            }
                    }],

Parents
  • 17590
    Offline posted

    Hello Andrew,

    Thank you for posting in our community.

    I am currently trying to reproduce the described behavior in a working sample. I will keep you posted on my progress and I will get back to you soon with more information or questions.

    Please feel free to continue sending updates to this case ta any time.

Reply Children