Results 1 to 3 of 3

Thread: Grids in Tabs and grid with both editing and drag and drop

  1. #1

    Default Grids in Tabs and grid with both editing and drag and drop

    I've got 2 grids loading from xml on the same page working now.
    I've applied separate columns css.

    My questions are:

    1. Is it possible to put the 2 grids into separate tabs? By tabs, I mean using simple TabPanels like in http://www.jackslocum.com/yui/2006/0...-for-yahoo-ui/ (not using BorderLayout). I've tried and the result was that sometimes the headers on the second tab doesn't show and sometimes the rows don't show depending on the browser.

    2. I've tried out the EditorGrid .. I'm wondering how to allow it to handle both edits and drag and drops.

    BTW Thanks a lot for yui-ext!! Fantastic work!

  2. #2
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    New York, NY
    Posts
    6,956

    Default

    1. The grid can't be rendered into an element with display:none. Inactive tabs currently use display none. I will be (95% sure) putting out RC2 tomorrow and the tab panel no longer uses display:none. This should solve all tab+grid problems.

    2. You can use an EditorAndSelectionModel (requires a double click to edit) to enable selections + edits. If you do a search there a couple good threads on it. Also, if you look in the extras forum, there's a selection model that supports edits, selections and still supports arrow navigation as well.

    The EditorGrid class is just a shortcut that creates an EditorSelectionModel for you. You would create a standard Grid object and pass in one of the selection models described above.

  3. #3

    Default

    Thank you!!

Similar Threads

  1. Replies: 0
    Last Post: 8 Mar 2007, 11:14 AM
  2. Possible bug using XMLDataModel for a Drag & Drop grids
    By syph252 in forum Community Discussion
    Replies: 0
    Last Post: 8 Mar 2007, 11:11 AM
  3. Drag-and-Drop grids on a LayoutDialog
    By syph252 in forum Community Discussion
    Replies: 1
    Last Post: 27 Feb 2007, 11:02 AM
  4. Drag and Drop error for two grids (XMLDataModel)
    By anotine in forum Ext 1.x: Bugs
    Replies: 4
    Last Post: 17 Nov 2006, 10:55 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
  •