Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Is it possible to split a particular collumn into subcolumn in table widget?

Is it possible to split a particular collumn into subcolumn in table widget?

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 2.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    aurora
    wrote on last edited by
    #1

    I have a table widget...
    Is it possible to create sub column inside a particular column when we clicked on that column header?

    1 Reply Last reply
    0
    • F Offline
      F Offline
      fluca1978
      wrote on last edited by
      #2

      You have to handle it by your own. I believe that what you are asking is to add a new column and split the data of the former one between the old and the new one. I don't think there is something ready, since the "splitting" logic depends on you.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        aurora
        wrote on last edited by
        #3

        [quote author="fluca1978" date="1329724691"]You have to handle it by your own. I believe that what you are asking is to add a new column and split the data of the former one between the old and the new one. I don't think there is something ready, since the "splitting" logic depends on you.[/quote]

        ya exactly thats what i wanted....
        Ok is there any read made function which inserts multiple column inside a column?
        If not how can i do that?

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andre
          wrote on last edited by
          #4

          No, there is not. The only thing you can do, is subclass your model or build a proxy model that does this for you. There is no concept of nested columns, but you can manipulate the number of columns and what data is in there.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved