It's OK to do things this way.
But I suggest you add all CSS in a static file and only modify the DOM's class name dynamically.
Search found 18 matches
- Thu Feb 15, 2024 4:47 pm
- Forum: Basic Issues
- Topic: How to Access CrossUI's Internal JS Functions and Variables from External JS?
- Replies: 5
- Views: 7335
- Thu Feb 15, 2024 4:43 pm
- Forum: Basic Issues
- Topic: Bug in Action Panel When Assigning Data to Variables with Named Keys
- Replies: 3
- Views: 4133
Re: Bug in Action Panel When Assigning Data to Variables with Named Keys
Yeah, the key doesn't support special chars.
- Thu Feb 15, 2024 4:40 pm
- Forum: Basic Issues
- Topic: Issue with Confirm Dialog Overlaying Modal Dialog Component
- Replies: 4
- Views: 5189
Re: Issue with Confirm Dialog Overlaying Modal Dialog Component
It's a modal mode, simulated
- Thu Feb 15, 2024 4:30 pm
- Forum: Builder/Designer Features Wanted
- Topic: [ADDED in 2.52]Sending JSON Data in API Caller Body with CrossUI
- Replies: 6
- Views: 8378
Re: Sending JSON Data in API Caller Body with CrossUI
There are 3 global hooks for APICaller: APICaller-global-hooks.jpg The code will be in xuiconf.js: // [[Global Functions xui.$cache.functions = { "$APICaller:beforeInvoke" : { "desc" : "set authToken or header for each APICaller", "params" : [ { "id"...
- Thu Feb 08, 2024 10:34 pm
- Forum: Basic Issues
- Topic: Retrieving Current Sort Column, Sort Order, and Vertical Scrollbar Position in TreeGrid
- Replies: 2
- Views: 3832
Re: Retrieving Current Sort Column, Sort Order, and Vertical Scrollbar Position in TreeGrid
Try the code bellow: // The default code is a module class (inherited from xui.Module) // Ensure that all the value of "key/value pair" does not refer to external variables xui.Class('App', 'xui.Module',{ Instance:{ // Dependency classes Dependencies:[], // Required modules Required:[], //...
- Thu Feb 08, 2024 10:00 pm
- Forum: Basic Issues
- Topic: Issue with Confirm Dialog Overlaying Modal Dialog Component
- Replies: 4
- Views: 5189
Re: Issue with Confirm Dialog Overlaying Modal Dialog Component
The problem is the "CONFIRM" dialog is cached, and your modal dialog is destroyed. When the modal dialog is destroyed, and you create a new one, pop to the top, it will cover the existing prompt dialog. You can use code to overcome this: _xui_ui_dialog3_beforeclose:function(profile){ var n...
- Thu Feb 08, 2024 9:43 pm
- Forum: SPA Builder
- Topic: Difficulty Adding Sub-Items to xui.menuBar Through UI Editor
- Replies: 2
- Views: 3689
Re: Difficulty Adding Sub-Items to xui.menuBar Through UI Editor
The Attributes Editor supports tree-like items, pls check it
- Thu Feb 08, 2024 9:36 pm
- Forum: Basic Issues
- Topic: Modal Object Dismissal After Clicks Outside the Object in CrossUI [SOLVED]
- Replies: 2
- Views: 3451
Re: Modal Object Dismissal After Clicks Outside the Object in CrossUI
Need a more specific description
- Thu Feb 08, 2024 5:53 pm
- Forum: Builder/Designer Features Wanted
- Topic: [ADDED in 2.52]Sending JSON Data in API Caller Body with CrossUI
- Replies: 6
- Views: 8378
Re: Sending JSON Data in API Caller Body with CrossUI
If you want to set query data, use queryData ( not in the "Web API Caller" dialog), which you can find it in the right "Component Config" area. And set queryMethod to "POST". requestType should be "FORM" or "JSON". Will enhance "Web API Caller&q...
- Thu Feb 08, 2024 5:14 pm
- Forum: Builder/Designer Bugs
- Topic: [FIXED in 2.52]Long Action List Labels Obscure Delete Button in CrossUI
- Replies: 2
- Views: 3838
Re: Long Action List Labels Obscure Delete Button in CrossUI
Yeah, maybe should change the cmdTags position to floatright or topright. Will consider it in the next release