Can you resize sfl columns size on the fly?

This is the knowledgebase for Profound UI, all resolved support and product questions are located here. Please search this forum before posting any new support and technical questions.
Locked
Profound Logic
Site Admin
Posts: 252
Joined: Fri Dec 14, 2007 1:09 pm
Contact:

Can you resize sfl columns size on the fly?

Post by Profound Logic »

Question:
Can you resize sfl columns size on the fly?

Answer:
The column widths cannot be controlled directly with RPG code, however the grid's "setProperty" JavaScript API can be used to accomplish this by adjusting the "column widths" property:

http://www.profoundlogic.com/docs/displ ... +value+%29

After resizing the columns in this way, it's also necessary to call the grid's "render()" API to re-draw the grid properly:

http://www.profoundlogic.com/docs/displ ... nder%28%29

This can be controlled by RPG by putting out the desired column sizes to hidden fields. A script could then use those when calling "setProperty".
Locked

Who is online

Users browsing this forum: No registered users and 2 guests