1. #1
    Sencha User
    Join Date
    May 2011
    Posts
    75
    Vote Rating
    0
    saravanakmr is on a distinguished road

      0  

    Default Grid display related

    Grid display related


    Ext.create('Ext.data.Store', {
    storeId:'simpsonsStore',
    fields:['name', 'email', 'phone'],
    data:{'items':[
    { 'name': ' Lisa', "email":"lisa@simpsons.com", "phone":"555-111-1224" },
    { 'name': 'Ba rt', "email":"bart@simpsons.com", "phone":"555-222-1234" },
    { 'name': 'Homer', "email":"home@simpsons.com", "phone":"555-222-1244" },
    { 'name': 'Marge', "email":"marge@simpsons.com", "phone":"555-222-1254" }
    ]},
    proxy: {
    type: 'memory',
    reader: {
    type: 'json',
    root: 'items'
    }
    }
    });






    I have store like above.In Store one of record i have 'n' number of space before value (see 'Lisa' in datastore)
    but when comes to grid spaces are truncating why?.because i want with space in grid.
    how to do


    Thanks

  2. #2
    Sencha User skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,338
    Vote Rating
    248
    skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of

      0  

    Default


    I don't imagine ExtJS is truncating the white-space, I'd have thought this was just HTML collapsing the white-space in the usual fashion.

    Use a column renderer to replace the spaces with non-breaking spaces, or use CSS pre to preserve white-space.

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar