Results 1 to 3 of 3

Thread: [Solved] Newbie - PanelGrid

  1. #1

    Arrow [Solved] Newbie - PanelGrid

    Hi

    Im a newbie in extJs 3.

    Im looking for a function that is similar to ext 1.x TableGrid.

    I want to generate grid over the HTML table (printed generated automaticly by php). On extJs 1.x there was

    var grid = new Ext.grid.TableGrid(tableId);
    grid.render();

    I know that in extJs 3 there is PanelGrid but I have problems with it because it wants dataStore from XML or JSON and I dont want that. I've read many examples but I cant find solution.


    <table id="grid-table">
    <thead>
    <tr><th>1</th><th>2</th></tr>
    </thead>
    <tbody>
    <tr><td>test</td><td>test2</td></tr>
    </tbody>
    </table>


    Can somebody help me with proper use PanelGrid with this example?
    Thanks in advance

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

    Default

    Why not use Ext.ux.grid.TableGrid (in examples/ux/TableGrid.js)?

  3. #3

    Default

    hmm as I mention Im a newbie ux is some kind of plugin?
    I dont see ux in API documentation http://extjs.com/deploy/dev/docs/

    Error /Ext.ux.grid is undefined/


    EDIT:

    Ok I've got it! Thx for help!

Posting Permissions

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