Search Unity

Feature Request ListView Columns / Headers

Discussion in 'UI Toolkit' started by Lahcene, Nov 13, 2019.

  1. Lahcene

    Lahcene

    Joined:
    Jun 18, 2013
    Posts:
    55
    Are there any plans to add columns/headers to the UIElements ListVIew?
     
    StephanieRowlinson likes this.
  2. uDamian

    uDamian

    Unity Technologies

    Joined:
    Dec 11, 2017
    Posts:
    1,231
    Yes, there are such plans but I don't have a target date or version for this feature.

    In the meantime, it's actually not too bad to implement something yourself on top of ListView. All you need is to create the individual cells inside each row of the ListView and make sure all cells belonging to a specific column have the same width. You'll still get the virtualization from ListView but it will "appear" to have columns as well.
     
    Lahcene likes this.
  3. Lahcene

    Lahcene

    Joined:
    Jun 18, 2013
    Posts:
    55
    Thanks for the reply, yes, that's what I'm doing, it's a great oppurtunity to learn.
     
  4. soeplepel

    soeplepel

    Joined:
    Dec 15, 2013
    Posts:
    6
    Any news on this?
     
  5. antoine-unity

    antoine-unity

    Unity Technologies

    Joined:
    Sep 10, 2015
    Posts:
    780