Jump to content

Sherzod

Moderators
  • Posts

    19516
  • Joined

  • Last visited

  • Days Won

    630

Sherzod last won the day on March 20

Sherzod had the most liked content!

About Sherzod

Contact Methods

  • Website URL
    https://t.me/uniguidevelopers - https://www.youtube.com/@uniguidevelopers

Profile Information

  • Gender
    Male
  • Location
     uniGUI )

Recent Profile Visitors

33223 profile views

Sherzod's Achievements

Advanced Member

Advanced Member (4/4)

2.2k

Reputation

  1. @Didier Try this approach: function afterrender(sender, eOpts) { var repStr = '<tpl if="icon.iconStr"><span class="{icon.iconStr}"></span><tpl else><img style="margin-top:3px;width:16px;height:16px;" src="{icon.iconUrl}"/></tpl>&nbsp;{val}'; sender.listConfig.tpl.html = sender.listConfig.tpl.html.replace('{val}', repStr); }
  2. Yes, because you are using images and not icons, which is what I asked about. I'll check...
  3. Try this approach: UniCheckComboBox.ClientEvents.ExtEvents -> function afterrender(sender, eOpts) { var repStr = '<span class="{icon.iconStr}">&nbsp;</span>{val}'; sender.listConfig.tpl.html = sender.listConfig.tpl.html.replace('{val}', repStr); }
  4. Yes I know. I meant... Ok I will check.
  5. I already understand what you want. Just to clarify, do you use only icons, or images too?
  6. By the way, what component are you using? UniStringGrid or UniDBGrid?
  7. Hello @Didier Are you using icons only?
  8. Well, first you need to clarify the problem statement. Then, we will try to analyze.
  9. Hello, I think one of the possible solutions is you should use the html context, using say several spans with different styles...
  10. Okay, very good. I didn’t understand you then, perhaps you made a mistake in writing your question in this post, since the Widget button was used here.
×
×
  • Create New...