Results 1 to 3 of 3

Thread: How to create a grig of Obect of Obect that extends BaseModelData

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Ext User
    Join Date
    Dec 2010
    Posts
    6
    Vote Rating
    0
      0  

    Default How to create a grig of Obect of Obect that extends BaseModelData

    Hi all,

    I'd like to create a basic grid with 2 field that are 2 different BaseModelData Objects.
    I fill in the elements in the store and I can see them while debugging (whatch function in Eclipse) but I'm not able to show them in the grid.

    How should I write into the column model for the items to show?

    for example
    column.setId("name");

    in my case name should be an object, so what I expect is something like:

    column.setId(myobject.get("name"));

    thanks

  2. #2
    Sencha User
    Join Date
    Aug 2008
    Posts
    122
    Vote Rating
    0
      0  

    Exclamation basemodeldata

    msimone..Did you get any solution on this?
    I am also doing same thing...

  3. #3
    Sencha User
    Join Date
    Nov 2010
    Posts
    209
    Vote Rating
    -2
      0  

    Default

    You can create a GridCellRenderer that returns value you want to display from you object.


Similar Threads

  1. Replies: 15
    Last Post: 25 Oct 2010, 7:13 AM
  2. Editor Grig listners
    By bozzoz in forum Ext Designer: Help & Discussion
    Replies: 2
    Last Post: 4 Aug 2010, 7:31 AM
  3. NoClassDefFoundError BaseModelData
    By chaby in forum Ext GWT: Discussion
    Replies: 4
    Last Post: 8 Apr 2010, 3:53 AM
  4. New user pb - Ghost values in a grig
    By appleSeb in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 15 Apr 2008, 1:29 PM
  5. Grig paging, easy question but for me
    By pomata in forum Ext 1.x: Help & Discussion
    Replies: 6
    Last Post: 27 Mar 2007, 7:15 PM

Posting Permissions

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