Results 1 to 4 of 4

Thread: Simple table...

  1. #1

    Default Simple table...

    Hi folks
    I have a very simple question: is there a way to build a table of data with out using the TableLayout?
    I ask this because the component of the table layout must be panels, isn't it?
    So in my application I have this table and when I change the data and I call the doLayout method it takes me a lot off time... A lot of times means more than 3 seconds...

  2. #2
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,245

    Default

    I would advise against using TableLayout. Instead use a VBoxLayout with nested HBoxLayouts.

    The items of a TableLayout (any layout in fact) need to be BoxComponents (so it's not required that they are Panels).

  3. #3
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,890

    Default

    If it's just data that you want to lay out in a tabular manner, use a DataView

  4. #4

    Default

    Thank you guys. I've tried bouth the ways..
    First I used a VBoxLayout + HBoxLayouts with a lighter boxcomponent.. I've noticed a discrete speed up (20%)
    Than i tried the DataView with a template that builds a group of divs. The speed up with this solution was really impressive..

Similar Threads

  1. Pivoting table using ExtJs panel table layout
    By hirendave in forum Ext 3.x: User Extensions and Plugins
    Replies: 2
    Last Post: 23 Jul 2010, 4:04 AM
  2. Simple question on table
    By lemon in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 4 Nov 2008, 7:28 PM
  3. Adding icon in the table header of the table list upon query.
    By hariharan in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 10 Jul 2008, 6:05 AM
  4. Replies: 9
    Last Post: 20 Jun 2008, 9:32 AM
  5. How to produce relatively simple table layout
    By sgodden in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 15 Apr 2008, 8:07 AM

Posting Permissions

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