Customizing the Preference Popups

Parent Previous Next

Often times, you want to customize the popup that shows up when you click on the Save Preferences or Settings Button.


Like we saw in the renderers topic, the grid.popupFactoryExportOptions gives you a class factory that should return an instance of ExportOptionsView. This can be your own class.


           grid.popupFactorySaveSettingsPopup = new flexiciousNmsp.ClassFactory(flexiciousNmsp.CustomSaveSettingsPopup);

           grid.popupFactorySettingsPopup = new flexiciousNmsp.ClassFactory(flexiciousNmsp.CustomSettingsPopup);



The CustomSaveSettingsPopup and  CustomSettingsPopup are a classes that renders the popup for the settings.


A running example of how this can be done is demonstrated in this blog post: http://blog.htmltreegrid.com/post/How-to-Customize-the-Pager-(Toolbar)-Export-Options-Settings-and-Save-Settings-Popups.aspx