Search found 30 matches

by romain
Thu Feb 15, 2024 3:08 pm
Forum: Builder/Designer Features Wanted
Topic: [ADDED in 2.52]Sending JSON Data in API Caller Body with CrossUI
Replies: 6
Views: 2395

Re: Sending JSON Data in API Caller Body with CrossUI

For now, I have found a temporary solution. My PHP login page for the application creates a cookie with a token once the user authentication is successful. Then, in the interface created by CrossUI, before making an API invoke call, I call a global function with the following code: // setToken // [t...
by romain
Thu Feb 15, 2024 2:00 pm
Forum: Basic Issues
Topic: How to Access CrossUI's Internal JS Functions and Variables from External JS?
Replies: 5
Views: 2651

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

Thank you for your replies. It will help me soon when I will need. Another thing, to access to my input forms and change css to tell user there is something wrong in form submit to api, I did this : Do you think there is a better idea to do this ? // -------------------------------------------------...
by romain
Thu Feb 15, 2024 1:54 pm
Forum: Basic Issues
Topic: How to Display JavaScript Errors in Firefox Console for CrossUI Apps?
Replies: 2
Views: 1092

Re: How to Display JavaScript Errors in Firefox Console for CrossUI Apps?

I solved the problem. It seems to have originated from errors in my code, which prevented the CrossUI code from continuing to execute.
by romain
Thu Feb 15, 2024 1:52 pm
Forum: Basic Issues
Topic: Retrieving Current Sort Column, Sort Order, and Vertical Scrollbar Position in TreeGrid
Replies: 2
Views: 1319

Re: Retrieving Current Sort Column, Sort Order, and Vertical Scrollbar Position in TreeGrid

Thank you for your reply.

I will test this code in my next page construction and will inform you if I am able to achieve this successfully.
by romain
Thu Feb 15, 2024 1:49 pm
Forum: Builder/Designer Features Wanted
Topic: [ADDED in 2.52]Sending JSON Data in API Caller Body with CrossUI
Replies: 6
Views: 2395

Re: Sending JSON Data in API Caller Body with CrossUI

Currently, I have been utilizing the API Caller for the GET method to retrieve a JSON with dozens of rows from a database, and it has been functioning admirably. I had configured my headers in the Web API caller interface as follows: Authorization: Bearer Token xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (hardco...
by romain
Wed Feb 14, 2024 9:39 am
Forum: Builder/Designer Features Wanted
Topic: [ADDED in 2.52]Sending JSON Data in API Caller Body with CrossUI
Replies: 6
Views: 2395

Re: Sending JSON Data in API Caller Body with CrossUI

in CrossUI, I go in Actions Editor and for PUT API, I call Function : functions.JSON_query with : val : {page.element_form.getFormValues(true, null , true, true ,true)} action : PUT elements key_id : {page.id_el.getValue()} my script call API and then broadcast a global message for the next operatio...
by romain
Wed Feb 14, 2024 9:36 am
Forum: Builder/Designer Features Wanted
Topic: [ADDED in 2.52]Sending JSON Data in API Caller Body with CrossUI
Replies: 6
Views: 2395

Re: Sending JSON Data in API Caller Body with CrossUI

Thank you for providing this helpful code snippet. At the moment, I've developed my method using PUT and POST to interact with the API, and it's working exceptionally well for my current needs. I'll definitely keep your technique in mind for future forms that I'll be working on. It seems like a valu...
by romain
Wed Feb 14, 2024 9:24 am
Forum: Builder/Designer Features Wanted
Topic: [ADDED in 2.52]Issue with CTRL+X/C/V/Z/Y Keyboard Shortcuts in CrossUI on Windows
Replies: 3
Views: 1307

Re: Issue with CTRL+X/C/V/Z Keyboard Shortcuts in CrossUI on Windows

Yes, that's correct. I use CTRL+X/C/V/Z primarily to avoid triggering the context menu when duplicating a control or when needing to undo a mistake quickly with CTRL+Z (in which case I use the arrow in the toolbar).
by romain
Wed Feb 14, 2024 9:21 am
Forum: CrossUI Library Bug Report
Topic: [FIXED]AfterRowActive Event Failure in Readonly TreeGrid
Replies: 2
Views: 1587

Re: AfterRowActive Event Failure in Readonly TreeGrid

Hello, Thank you for your prompt response. I appreciate your acknowledgment of the issue I encountered with the AfterRowActive event not triggering in a Readonly TreeGrid. It's reassuring to know that it will be addressed in the next version of CrossUI. Thank you again for your attention to this mat...
by romain
Wed Feb 14, 2024 9:19 am
Forum: Builder/Designer Bugs
Topic: [FIXED in 2.52]Long Action List Labels Obscure Delete Button in CrossUI
Replies: 2
Views: 1341

Re: Long Action List Labels Obscure Delete Button in CrossUI

Thank you. For now, I try to keep short actions names ;)