Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderator: amosbatto

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
By springhigh
#790662
Hi

I'm wondering if it's possible to display a grid row on more than one line.
We sometimes need to capture 10 or more fields in a grid, and it would be nice to be able to split a row, so that it displays as 2 rows.
Instead of all on a single line?

thanks
User avatar
By amosbatto
#790688
It might be possible with a bit of JavaScript, but I have not managed to figure out how to do it. I recommend setting the "layout" property of your grid to "static" and then increasing the "column width" of each of your grid fields because it now is the number of pixels instead of the width percentage. This will cause a horizontal scroll bar to appear for wide rows so at least the user can see all the fields in rows that are wider than the grid width.

Hello! If you did not find the mcrypt extension […]

Hello! You have a mistake in the url, the correct […]

objects variable in grid

Hello! It is very rare since I could not replicate[…]

Hello! It is likely that the design you are doin[…]