TableView/Portal features

Hi,

I think this has been asked before, a long time ago and I would like to bring it back to attention, might it have slipped from it.

Is Servoy, we have forms in Tableview and Portals. Both seem to be, to me, implementations of Java’s JTable. According to Java’s JTable API, it’s possible to get/set the width of columns, get all the columns and thus get their names of Columncount etc

Could we get these features in Servoy as well?

Reason:
I want to be able to retrieve the order of the columns + their width (because the user can alter those) when a form is hidden and store them as user properties. Then, when a form is loaded, I retrieve the user properties and set the columns back into the order the user likes, with the width that he/she likes.

Additionally, it would be great if we could hide/add columns to the JTable at runtime. dunno the specifics of scripting, but i would think something in the line of:

  • In Developer add all columns possible to the JTable and then, at runtime, remove 1 or more and have the ability to add previously removed columns again.

Hope this makes sense (and that it can be realized :D ). If it will never be possible due to certain design issues, could we also know that? Then I have to think of other ways to achieve this.

Tnx in advance,

Paul

A very important request that I have also posted a long time ago and that might have been forgotten.

Especially this is very important for our solution:

Additionally, it would be great if we could hide/add columns to the JTable at runtime.

One of the Number 1 request from our (FileMaker-)customers was to make their “own lists” (choose the fields they would like to see). I could make my own interface for selection the fields, I just need a possibility to populate a table view with those.

Is there any news on this request?

pbakker:
Additionally, it would be great if we could hide/add columns to the JTable at runtime. dunno the specifics of scripting, but i would think something in the line of:

  • In Developer add all columns possible to the JTable and then, at runtime, remove 1 or more and have the ability to add previously removed columns again.

Paul

Oh Yes, please! :)

patrick:
A very important request that I have also posted a long time ago and that might have been forgotten.

Especially this is very important for our solution:

Additionally, it would be great if we could hide/add columns to the JTable at runtime.

One of the Number 1 request from our (FileMaker-)customers was to make their “own lists” (choose the fields they would like to see). I could make my own interface for selection the fields, I just need a possibility to populate a table view with those.

Is there any news on this request?

I agree that having those “native” features would be really great! In the meantime, you can do the same (approximate) thing by just getting the fields they want to see, then making a HTML list. It’s fairly easy to do, and would be a good way to provide that kind of functionality (if/until) the requested feature show up.

With HTML you can have the option to build some sort of system to select which column to show, but you loose all the neat features of the JTable object… :(

Paul