Menu

#30 Columns Down, Rows Across (Transpose View)

vFuture
pending
None
1
2018-05-03
2015-08-11
Petar Tasev
No

First of all, I want to say this control is absolutely amazing, thanks for you hard work!

Is there any way to make the columns display on the left side of the control, so that they are much like rows, and the rows are displayed across as if they were columns. This would essentaily be a transpose of the data in the objectlistview.

I have attached an image where I had to use a row in a DataGridView control as the column names, before loading the data as another column. Each file opened would create a new column with its data.

Would love if you can provide this feature, or at least tell me how I can go about doing it myself.

Thank you!

1 Attachments

Related

Feature Requests: #30

Discussion

  • Phillip Piper

    Phillip Piper - 2015-08-11

    It's possible, but difficult.

    I did try this a while ago, and there were a couple of blockers in my code that made it problematic. From memory, some properties (like renderer and cell editors) are currently decided by OLVColumn, and without some serious refactoring cannot be calculate per cell. But this sort of pivoting requires those properties to be calculate by cell and NOT by column.

     

    Last edit: Phillip Piper 2015-08-11
  • Petar Tasev

    Petar Tasev - 2015-08-12

    I'd still like the columns to decide the renderer and cell editors, just that they should now be drawn as row headers, rather than the typical column headers. Is there no way to simply draw the columns on the side?

     
    • Phillip Piper

      Phillip Piper - 2015-08-13

      No, there is no way to "simply" draw columns on the side. "You know not
      what you ask" :)

      Underlying ObjectListView is a normal MS-written ListView control. It has
      some very strong assumptions about how it will work, and it is very
      difficult to work against those fundamental assumptions.

      With some clever coding, you can get around some of those assumptions (and
      I think this is one that could be circumvented), but many are just
      unchangeable.

      Regards,
      Phillip


      Phillip Piper phillip.piper@gmail.com
      A man's life does not consist in the abundance of his possessions

      On 12 August 2015 at 19:59, Petar Tasev ryder25x@users.sf.net wrote:

      I'd still like the columns to decide the renderer and cell editors, just
      that they should now be drawn as row headers, rather than the typical
      column headers. Is there no way to simply draw the columns on the side?


      Status: open
      Group: Next_Release_(example)
      Created: Tue Aug 11, 2015 05:27 AM UTC by Petar Tasev
      Last Updated: Tue Aug 11, 2015 05:49 AM UTC
      Owner: nobody
      Attachments:

      First of all, I want to say this control is absolutely amazing, thanks for
      you hard work!

      Is there any way to make the columns display on the left side of the
      control, so that they are much like rows, and the rows are displayed across
      as if they were columns. This would essentaily be a transpose of the data
      in the objectlistview.

      I have attached an image where I had to use a row in a DataGridView
      control as the column names, before loading the data as another column.
      Each file opened would create a new column with its data.

      Would love if you can provide this feature, or at least tell me how I can
      go about doing it myself.

      Thank you!

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/objectlistview/feature-requests/30/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Feature Requests: #30

  • Phillip Piper

    Phillip Piper - 2018-05-03
    • status: open --> pending
    • assigned_to: Phillip Piper
    • Group: Unassigned --> vFuture
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.