Search found 18 matches

by support
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: 2523

Re: How to Access CrossUI's Internal JS Functions and Variables from External JS?

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.
by support
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: 2232

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"...
by support
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: 1221

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:[], //...
by support
Thu Feb 08, 2024 10:00 pm
Forum: Basic Issues
Topic: Issue with Confirm Dialog Overlaying Modal Dialog Component
Replies: 4
Views: 1399

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...
by support
Thu Feb 08, 2024 9:43 pm
Forum: SPA Builder
Topic: Difficulty Adding Sub-Items to xui.menuBar Through UI Editor
Replies: 2
Views: 1106

Re: Difficulty Adding Sub-Items to xui.menuBar Through UI Editor

The Attributes Editor supports tree-like items, pls check it
attribute-editor.jpg
attribute-editor.jpg (50.25 KiB) Viewed 1065 times
by support
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: 2232

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...
by support
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: 1253

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