Results 1 to 2 of 2

Thread: how remove a cell in qtableview

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2011
    Location
    India
    Posts
    22
    Thanks
    11
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Maemo/MeeGo

    Question how remove a cell in qtableview

    if there is 4 cell, i want to remove cell no.2 and again reorder cells 1-3 , in qtableview

    before

    1 red
    2 blue
    3 green
    4 yellow

    after removal of 2rd cell

    1 red
    2 green
    3 yellow

    i tried 'hiderow' function but the table numbering is going wrong but qtablewidget had this 'removerow' function. is there any way to do this
    Last edited by breakthecode; 6th December 2011 at 18:28. Reason: spelling corrections

Similar Threads

  1. QTableView cell deactivation
    By qutron in forum Newbie
    Replies: 6
    Last Post: 28th November 2011, 08:51
  2. Add QPushButton to cell in QTableView?
    By nikhil in forum Qt Programming
    Replies: 3
    Last Post: 14th July 2010, 09:01
  3. How to tell if QTableView cell is visible ?
    By steviekm3 in forum Qt Programming
    Replies: 0
    Last Post: 2nd March 2009, 10:04
  4. how to remove the span set for a cell in QTableView
    By dandanch in forum Qt Programming
    Replies: 2
    Last Post: 21st October 2008, 11:22
  5. cell selection in QTableView
    By user in forum Qt Programming
    Replies: 3
    Last Post: 26th May 2008, 01:01

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.