Forum Replies Created

  • Brian Allen

    Member
    May 4, 2026 at 9:20 am in reply to: Images/Icons within JS Data Grid

    Thanks a lot for the detailed explanation, that’s really helpful.

    I read https://www.omnis.net/developers/resources/onlinedocs/FunctionRef/Functions_A-Z/style.html#stylewheelie life. So, I have a question: when you use <code data-start=”120″ data-end=”157″>style(kEscBmp, ‘attach_file+16×16’)Are those icons coming from a built-in Omnis set, or did you have to import/register them somewhere first?

    Also, have you noticed any performance impact when using styled text with icons in larger data grids (like a few hundred rows)?

    • This reply was modified 1 month ago by  Brian Allen.
  • Brian Allen

    Member
    April 30, 2026 at 7:15 am in reply to: SQL Worker and redraw. a subform

    Thanks, that actually helped point me in the right direction.

    I ran into something similar recently and the key for me was exactly what you mentioned to https://www.omnis.net/developers/resources/onlinedocs/WebDev/02jsremoteforms.html#push-connections. Nothing updates on the client unless you explicitly push it. In my case, adding a push from the worker’s
    $completed
    and then forcing a redraw on the client side did the trick.

    Per-Arne, you can try something like triggering a client method via push that calls
    $redraw()
    (or refreshes the subform/list) once the data is ready. Without that, the UI just sits there with the old state until something else (like switching tabs) forces a refresh, which is what you’re seeing.

    So yeah, it’s not that your list isn’t populated—it’s just never told the client to repaint.