Change Row Height in "Table View (locked)"

Questions and answers for designing and implementing forms in Servoy

Change Row Height in "Table View (locked)"

Postby sergei.sheinin » Mon Jun 09, 2014 11:34 am

I have a table in "Tabless Panel" that has a text column. The problem is that the column's text may have different number of lines in different rows. I would like to be able to individually set row height of each row. Can it be done in Servoy? What are the alternatives? So far I was not able to change row height dynamically in "Table View (Locked)".
Sergei Sheinin
JavaScript, RDBMS
http://js2dx.com
sergei.sheinin
 
Posts: 79
Joined: Wed May 07, 2014 3:22 pm

Re: Change Row Height in "Table View (locked)"

Postby mboegem » Mon Jun 09, 2014 12:07 pm

There's no way to have individual heights for rows.
You can create a higher row by increasing the height of the first element of your table view.

An alternative could be to use the list view.
Advantage of the list view is that you will have full control over the row-layout, rather than have the tableview putting all your elements next to each other.
Marc Boegem
Solutiative / JBS Group, Partner
Servoy Specialist
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image
User avatar
mboegem
 
Posts: 1750
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: Change Row Height in "Table View (locked)"

Postby sergei.sheinin » Mon Jun 09, 2014 1:12 pm

Thanks for clearing this up. I used Table bean which allows textareas in rows

http://www.servoy-plugins.de/beans/tabl ... -bean.html
Sergei Sheinin
JavaScript, RDBMS
http://js2dx.com
sergei.sheinin
 
Posts: 79
Joined: Wed May 07, 2014 3:22 pm

Re: Change Row Height in "Table View (locked)"

Postby mboegem » Mon Jun 09, 2014 3:08 pm

sergei.sheinin wrote:I used Table bean which allows textareas in rows

The native tableview allows you to do that too
Marc Boegem
Solutiative / JBS Group, Partner
Servoy Specialist
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image
User avatar
mboegem
 
Posts: 1750
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: Change Row Height in "Table View (locked)"

Postby sergei.sheinin » Mon Jun 09, 2014 4:56 pm

True, but I still can't change textarea height to display all lines of the text inside, can I? Row height has to be different for each row since there may be from 1 line and up to long multiline texts that need to be visible at once.
Sergei Sheinin
JavaScript, RDBMS
http://js2dx.com
sergei.sheinin
 
Posts: 79
Joined: Wed May 07, 2014 3:22 pm


Return to Forms

Who is online

Users browsing this forum: No registered users and 10 guests