• Unity
  • Services
  • Made with Unity
  • Learn
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Forums
  • Answers
  • Feedback
  • Issue Tracker
  • Blog
  • Evangelists
  • User Groups

Navigation

  • Home
  • Unity
  • Industries
  • Made with Unity
  • Learn
  • Community
    • Forums
    • Answers
    • Feedback
    • Issue Tracker
    • Blog
    • Evangelists
    • User Groups
  • Get Unity
  • Asset Store

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by Captain_Dando · Jul 17, 2012 at 02:37 PM · editorwindowtable

EditorWindow Table - is it possible?

Hi folks, is it possible to add a table to EditorWindow, which can be edited? for example, like in the column below, could I create a table with my own column headings, and the ability to add a new entry by clicking on the last entry?

alt text

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Bunny83 · Jul 18, 2012 at 12:31 PM 1
Share

Is this just an arbitrary example, or do you want to make an sql table editor / creator? There are plenty of programs out there that can handle this way better ;)

The UnityGUI isn't that complicated, if you have an example data set, i can post an example.

avatar image Captain_Dando · Jul 18, 2012 at 12:38 PM 0
Share

It's to make a new table, so not for mysql or anything like that. I've learnt a bit of UnityGui so I'm going to sit down and try tackle this. Thank you for your input in any case

avatar image Bunny83 · Jul 18, 2012 at 12:56 PM 0
Share

You can take a look at my UPP editor ;)

It also uses a table / grid like editor.

2 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by Paulius-Liekis · Jul 18, 2012 at 09:59 AM

No, there is no support out of the box, but you can do it yourself.

See some answers here: http://answers.unity3d.com/questions/12108/something-like-guitable-or-a-grid.html

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Captain_Dando · Jul 18, 2012 at 11:46 AM 0
Share

Damn. Thanks anyways, I'll check it out

avatar image
0

Answer by bourriquet · Nov 24, 2018 at 04:30 PM

I looked for a way to do exactly that too, so I developed Editor GUI Table

The table has all the nice features you could expect like sorting rows, resizing, optional columns...

Just add [Table] before the collection declaration to display it in a table.

Here's how it looks: alt text

I hope it helps!

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

9 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How do I add a drop-down menu to an EditorWindow? 3 Answers

How do I have an EditorWindow save it's data inbetween opening and closing Unity? C# 5 Answers

How can I determine which GUILayout.Window was last clicked? 2 Answers

EditorUtiltiy.GetAssetPreview(Object asset) 0 Answers

Refresh single asset 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges