generate table Follow
Hello forum!
I would like to create table editor in my custom language. I've already played around with the sample projects, but I couldn't find a solution to my issue.
As you can see in my example below, I would like to have one constant header and editable rows.
Maybe there's a simple answer for my question.
Any suggestions or help is appreciated!
Best regards
msch95
I would like to create table editor in my custom language. I've already played around with the sample projects, but I couldn't find a solution to my issue.
As you can see in my example below, I would like to have one constant header and editable rows.
- The ID should act like a Primary key (I've already figured out how that one works in MPS)
- The name is a concept, that I've declared in my language
- The age should be an integer.. is that resolvable with constraints?
- GENDER should work like an enum.. so I've declared a new concept.. Am I on the right track?
ID | Name | Age | GENDER |
---|---|---|---|
1 | John Test | 30 | MALE |
2 | Chuck Norris | 25 | MALE |
3 | Alice Norris | 20 | FEMALE |
Maybe there's a simple answer for my question.
Any suggestions or help is appreciated!
Best regards
msch95
Please sign in to leave a comment.
Hey Christopher!
It's of course possible. However, I ended up using Sascha Lißons library which is part of mbeddr, because I needed some more functionality.
I know this is an old thread, but @m sch95 did you ever get this to work. I am also trying to get similar functionality.
Hi macks
can u please explain how to add that library and use it in out Code.?