Results 1 to 2 of 2

Thread: Text Truncate Extjs 6

  1. #1

    Default Text Truncate Extjs 6

    Hi, I want to know that is there any way to truncate the text if its exceeding the line.
    my code is

    Code:
                xtype: 'panel',
                itemId: 'assignmentPanel',
                items: [ {
                    xtype: 'panel',
                    height: 165,
                    items: [ {
                        xtype: 'container',
                        cls: 'asignment-class ',
                        width: 260,
                        bind: {
                            html: '{assignment.className}'
                        }]
                 }]
    
    I want to truncate that html if its exceeding 
    Thanks a lot

  2. #2
    Sencha Premium Member
    Join Date
    Apr 2015
    Posts
    40
    Answers
    2

    Default

    Try to process that value with a formula on the viewmodel.

Similar Threads

  1. What is a key difference between Truncate and Delete?
    By sonal10 in forum Sencha Touch 2.x: Discussion
    Replies: 1
    Last Post: 28 Jun 2016, 11:30 PM
  2. [CLOSED] ExtJS 4.2.1 groupingsummary truncate rows in group
    By i.stojanovic in forum Ext:Bugs
    Replies: 2
    Last Post: 2 Jun 2013, 4:39 PM
  3. Combobox text get truncate inside list
    By khotsuhas in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 25 Jun 2010, 9:14 AM
  4. Truncate row's text inside a grid
    By marco76 in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 12 Jan 2009, 10:23 AM
  5. [Ext2.0 - editorGrid] - How to truncate text on column resize?
    By lupin85.luca in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 22 Nov 2007, 7:54 AM

Tags for this Thread

Posting Permissions

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