Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

ListGrid where each row is a form and form contains lists of data

$
0
0
I would like to have a list grid that has a form for every row. form can be collapsed initially, but i want the form to be visible (expanded) when user double clicks on a row. I am using the latest Smart Client 10.* with my own java server. Can someone please provide JS example, even a few lines of how to make this happen please ?

Hence my question number two. When i create record object in java for my list grid, i need to have them contain list of other objects inside that should appear as drop down in the form. How can I accomplish this?

Presently in java my record is generated with

record.add("name", operation.getName());

however, if operation has a list of descriptions inside of it, how can i place all of them into 1 record ?

for(String description: operation.getDescriptions())
record.add("????", description);

I can't figure out how to make that happen so that on front end ListGrid understands what belong where and renders it correctly.

Much appreciated.

Viewing all articles
Browse latest Browse all 4756

Trending Articles