domino-ui icon indicating copy to clipboard operation
domino-ui copied to clipboard

DominoUIConfig for different "parts" of the application

Open schube opened this issue 8 months ago • 0 comments

Is your feature request related to a problem? Please describe. I am setting getTableTextHeaderFilterSearchDelay with

	 DominoUIConfig.CONFIG.setUIConfig(new UIConfig() {
            
            @Override
            public int getTableTextHeaderFilterSearchDelay() {
                return 500;
            
            }
        });

which is fine for my remote data store, because I do not want to trigger a search for each letter typed.

But the same application has also a local data store, where I do NOT want that delay. I would rather like an instant search in that case.

Currently, there is no way to provide different configurations, since the config is global.

(Maybe I miss something?)

Describe the solution you'd like I think a GLOBAL configuration is not that good, see scenario described above. I would like to create multiple instances of DominoUIConfig and pass that to my components (such as Datatable)

Additional context DominoUI 2.0

Thank you!

schube avatar Jun 06 '24 15:06 schube