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. frozen column cursor when editing
Forum Updated to NodeBB v4.3 + New Features

frozen column cursor when editing

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 1 Posters 150 Views
  • 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.
  • S Offline
    S Offline
    SuperShan
    wrote on last edited by
    #1

    Hi Qt Community, I've been working with the frozencolumn example, and have had much success. However I'm quite stuck when editing cells which are within the frozen column.

    When clicking on it, it shows as selected, but there is no cursor. If I type characters, they do not appear as I type, but they all appear once I'm done editing (i.e. press enter, select another cell).

    It's as if the cursor is on the non-frozen table (which is behind the frozen one), how can I make the cursor appear (or copy it over) to the frozen column?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SuperShan
      wrote on last edited by
      #2

      I think i'm just gonna make 2 different tableviews, both associated to the same model data.

      If i place them side by side, hide all columns except for col 0 for the left table, and hide col 0 for the right table it looks pretty good. Connecting the vertical scrollbars makes the functionality nice, and hiding the scrollbars on the left table makes for even nicer look.

      There's still a slight border between the two that is noticeable if the table is larger than the row data from the model, but whatevs at this point. At least this venture of trying to freeze a column lead forced me to understand better the model/view ecosystem.

      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