Auto generated columns

  1. #1

    Auto generated columns

    Hello.
    Is it possible to bind datatable with columns and the grid will generate the columns automatically?

    The problem is the columns can changed and I can't define them in the store.
    I'm looking for something like 'AutoGenerateColumns="true"' in asp GridView.

    Thanks,
    Tsuria.
  2. #2
    Hi Tsuria,

    Currently this functionality does not exist in either v1.x or v2.x.

    It's something we're hoping to support in a future release.
    Geoffrey McGill
    Founder
  3. #3
    Hi geoffrey.
    Thank you for your answer.

    Is there any workaround?
    Can I loop over datatable's columns and add columns to grid dynamically?
  4. #4
  5. #5
    Thank you Daniil.
    It was very helpful.

    Do you have any documentation about the controls, not from Sencha Ext JS?
  6. #6
    Yes, we have.
    http://docs.ext.net/

    Though, unfortunately, there are the gaps.
  7. #7
    Thank you very very much.

    You can close this thread.

    Tsuria.
  8. #8
    Quote Originally Posted by tsuria View Post
    Is there any workaround?Can I loop over datatable's columns and add columns to grid dynamically?
    You probably need more properties than the columns can give you

    I am using an XML document which describes my table layout and configuration for the grid

    Maintenance of the document keeping it in sync is a hazzle but changes are not too oftenI have very little markup in my aspx page almost everything is build in codebehind

    Class diagram for building grids in my app

    Click image for larger version. 

Name:	ClassDiagram.jpg 
Views:	155 
Size:	56.8 KB 
ID:	3848

    rgds /Peter

Similar Threads

  1. selector by generated id
    By WISEMAN in forum 1.x Help
    Replies: 1
    Last Post: Mar 23, 2012, 1:19 PM
  2. Replies: 6
    Last Post: Feb 09, 2012, 7:30 AM
  3. [CLOSED] Error in generated javascript
    By ewgoforth in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 27, 2011, 4:17 PM
  4. [CLOSED] Override Auto Generated CSS for ComboBox - 8.2
    By JD in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jan 29, 2010, 11:01 AM
  5. Replies: 0
    Last Post: Sep 01, 2009, 2:52 PM

Tags for this Thread

Posting Permissions