Results 1 to 2 of 2

Thread: Formatting DualListField Entries

  1. #1
    Sencha Premium User
    Join Date
    Jun 2011
    Posts
    76

    Default Formatting DualListField Entries

    I want to format some of the entries in the To list of a DualListField to display them in bold.

    This was pretty simple in GXT 2 as I used ListField.setDisplayField for the To list and the corresponding entry in the model was decorated with <b> tags.

    There doesn't seem to be an equivalent in GXT 4, and even I manually add the <b> tags it just displays them rather than formatting the entry bold. Is there an easy way to do this or do I need to go down the whole Appearance route? Bearing in mind that I only need to display some of the entries in bold.

    I'm also struggling to find a handler for the selection event of the To list. My GXT 2 code had the following -

    to.addSelectionChangedListener(new SelectionChangedListener<SetEntry>()

    If anyone's got and ideas they'd be gratefully received.

    Thanks
    Andre

  2. #2
    Ext Support Team
    Join Date
    Jan 2018
    Posts
    569

    Default

    Hello Andre,

    Thank you for contacting Sencha Support!

    I am going to reach out to the product architect for your query and keep you posted as soon as I hear from them.

    Thank you for your patience.

    Regards,
    Kumar
    Sencha Support.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •