Jump to content

VolkovVitalD

uniGUI Subscriber
  • Posts

    41
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by VolkovVitalD

  1. 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!

    • Upvote 1
  2. 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

  3. 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?

  4. On 1/12/2023 at 9:34 PM, Sherzod said:

     

    Hello, 

    The main logic of these things is done on the server side and stored in the database. Do you have server side logic using DB?

    I use UniTreeView, and the tree is stored in the database. I understand that I will need to implement the logic of moving nodes in storage on my own.

  5. On 3/25/2022 at 8:24 PM, Hayri ASLAN said:

    You can not interact with client without getting a request from the client. 

    To solve this we are implementing websockets. We will publish it in the next or the other build.

    I think it is possible to implement both protocols. SSE is already implemented in the Indy components on which uniGUI is based and it can be easily integrated. I wanted to use JS SSE event handlers inside the UniHTMLFrame and update the contents of third-party components upon notification. This does not affect the work of uniGUI in any way.

    Thanks for uniGUI framework!

    I will be waiting for new releases.

  6. I tried this:

      with UniDBGrid1.JSInterface do
        JSConfig('features', [JSObject('ftype: "grouping",showSummaryRow:true'),
                              JSObject('ftype: "summary",ftotal:true,dock:"bottom"')
                             ]
                );

    But since Summary=false, no called methods for calculate summary.

  7. On 11/18/2021 at 3:11 PM, Sherzod said:

    Hello,

    But I thought that you have already solved what you asked:

    Then clarify your case again please.

    I need to save and load state of tree in TUniDBTreeGrid. I need to expand nodes programmaticaly and I need to get current state of node like in TUniTreeView.

×
×
  • Create New...