I'm sorry for wasting your time. I worked late. There is an error in my project, I immediately decided to make a test example, got a result similar to my error and did not check the obvious things. Thank you for such attentive support!
Hello.
This file is evaluation version of GoJS library. https://gojs.net/latest/index.html.
The error described in topic also occurs with another library, it's called Stimulsoft and used for building reports.
An error occurs when try to use UniSyntaxEditEx with JS files associated with require.js.
JS files are in ServerModule's Custom Files list.
Here is a test app project and error text, which can be seen in browser's console:
Uncaught Error: Mismatched anonymous define() module: [object Object]
http://requirejs.org/docs/errors.html#mismatch
makeError http://localhost:8077/uni-1.95.0.1580/requirejs/require.js:5
v http://localhost:8077/uni-1.95.0.1580/requirejs/require.js:5
o http://localhost:8077/uni-1.95.0.1580/requirejs/require.js:5
setTimeout handler*req.nextTick< http://localhost:8077/uni-1.95.0.1580/requirejs/require.js:5
o http://localhost:8077/uni-1.95.0.1580/requirejs/require.js:5
requirejs http://localhost:8077/uni-1.95.0.1580/requirejs/require.js:5
<anonymous> http://localhost:8077/uni-1.95.0.1580/requirejs/require.js:5
<anonymous> http://localhost:8077/uni-1.95.0.1580/requirejs/require.js:5
require.js:5:1067
Test_UniGui_SynEditExJSError.zip
Here's a test app project. Expand node and then select any of nested ones. The scroller will move to the lowest position.
Test_UniGUI_TreeView_ScrollBug.zip
To clarify, the behavior is strange. Those nodes that are at the top and at the root, they do not move the scroll, and any nested nodes scroll to the very bottom.
After updating the version from uni-1.90.0.1573 to uni-1.90.0.1580. The following behavior has appeared in the TUniTreeView component:
When the node is expanded, the scroll flies to the very bottom.
Hi!
I need to display different pictures in UniStringGrid cells.
I tried in the UniStringGrid1DrawCell method to define a style through Attribs.Style.Css
specifying the url of the image in this style, but so I need to create a lot of styles for each cell - this is not optimal.
Is there a better solution?