I want to add a small grid not full page width to a canvas sections, similar to the one in the image below:
The only grid control I seem to be able to drag and drop wants it's own section.
How can one do this?
David
I want to add a small grid not full page width to a canvas sections, similar to the one in the image below:
The only grid control I seem to be able to drag and drop wants it's own section.
How can one do this?
David
Principal developer of Lianja, Recital and other products
Follow me on:
Twitter: http://twitter.com/lianjaInc
Facebook: http://www.facebook.com/LianjaInc
LinkedIn: http://www.linkedin.com/in/barrymavin
Thanks Barry I'll take a look at that
Hi Barry,
I can set the headers for the columns in that, but there does not seem to be an attribute to set the data source for it
How does on set the data source field for each of the columns created in the header labels attribute
List items says it's a list of choices which sounds like a pick list.
David
Hi David,
"List items"
e.g.
select * from tablename
Principal developer of Lianja, Recital and other products
Follow me on:
Twitter: http://twitter.com/lianjaInc
Facebook: http://www.facebook.com/LianjaInc
LinkedIn: http://www.linkedin.com/in/barrymavin
Thank you.
I looked through the documentation but was unable to find anything using search List items.
David
All choicelists can take a sql select
use {macros} ton the where clause if you need to restrict what is selected.
Principal developer of Lianja, Recital and other products
Follow me on:
Twitter: http://twitter.com/lianjaInc
Facebook: http://www.facebook.com/LianjaInc
LinkedIn: http://www.linkedin.com/in/barrymavin
Thanks Barry,
I'm just looking at the where clause now and trying to figure out how to do that.
page1.section1 is the egg
page1.section2 is the egg weights that the treegrid is on.
This looks really good, once I figure it out.
David
Any SELECT statement can have dynamic WHERE condition e.g
SELECT * FROM table WHERE egg = {table.value}
You will need to refresh() the TreeGrid formitem.
Principal developer of Lianja, Recital and other products
Follow me on:
Twitter: http://twitter.com/lianjaInc
Facebook: http://www.facebook.com/LianjaInc
LinkedIn: http://www.linkedin.com/in/barrymavin
Brilliant thank you, I had been looking for some reference to the section rather then just a straight table.filed solution, very neat.
Do you do the refresh of the treegrid of the change delegate of the section it is on or section one which contains the parent data?
Last edited by avianmanagement; 2022-03-22 at 05:40.
Bookmarks