Results 1 to 2 of 2

Thread: Filtering as Excel in Table

  1. #1
    Join Date
    Mar 2006
    Location
    Vadodara, Gujarat, India
    Posts
    65
    Thanks
    16
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Filtering as Excel in Table

    Hi guys,
    i have to implement autofilter feature of excel in my table. The requirement is same as excel. When i select autofilter, there must come a drop down menu on the headers, and the items in it must be the contents of the column below it.

    Ne ideas how it can be implemented. I am mostly worried about the drop down stuff on header..... is it possible in qt ?
    Do what u r afraid to do, and the death of fear is sure.

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Filtering as Excel in Table

    Quote Originally Posted by ankurjain
    Hi guys,
    i have to implement autofilter feature of excel in my table. The requirement is same as excel. When i select autofilter, there must come a drop down menu on the headers, and the items in it must be the contents of the column below it.

    Ne ideas how it can be implemented. I am mostly worried about the drop down stuff on header..... is it possible in qt ?
    Hmm, isn't the autofilter's "drop down menu", instead of header, in the top most cell of the filtered area, per each column?
    When an area is selected for autofiltering, you could insert a widget to the top most cell of each selected column. This widget would naturally be a combo box filled with appropriate filtering rules. Then you just hide/show the rows below due to the combo box selection changes.
    J-P Nurmi

Similar Threads

  1. Postgresql QSqlRelationalTableModel empty table
    By RolandHughes in forum Qt Programming
    Replies: 0
    Last Post: 12th November 2008, 17:18
  2. Replies: 3
    Last Post: 5th October 2008, 23:41
  3. how to add sub table to QSqlRelationalTableModel
    By SunnySan in forum Qt Programming
    Replies: 1
    Last Post: 30th July 2008, 11:05
  4. displaying any table on a qdatatable
    By Philip_Anselmo in forum Newbie
    Replies: 4
    Last Post: 9th May 2006, 22:12
  5. creating table plugin
    By mgurbuz in forum Qt Programming
    Replies: 3
    Last Post: 28th April 2006, 13:50

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.