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
170
Cannot access a private method when height is set.
posted

Hello,

When we set the height in the grid options in the following manner:


self.options.gridOptions = {

                                primaryKey: 'JobId',
                                jQueryTemplating: false,
                                rowTemplate: null,
                                autoGenerateColumns: false,
                                width: '100%',
                                height: '480px',
                                urlType: 'remoteUrl',
                                autoAdjustHeight: false,
                                columns: [
                                       ...
                                ],

                                features: [...]

};


and we try to call the following private method:
 $(self.options.jobsGridSelector + ' table').data("igGridFiltering")._updateFiltersUI(gridSettings.get(self.options.jobsGridSelector).filters);

the selector returns "undefined" and we get this error:
Uncaught TypeError: Cannot call method '_updateFiltersUI' of undefined

The use of this private method was advised in the following thread:
http://ko.infragistics.com/community/forums/p/75870/383316.aspx#383316

We are looking for a way to avoid this issue.

Thank you for your time,
Stanislav Radkov