Folders in Document Tabular Section or ValueTree

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Feb 13, 2012
Company: C.K. Elektronic Vertriebs GmbH

Hallo,
i create a document called "Invoice" with Tabular Section called "items".
Now i want to show the items in a hierarchical list eg.
root
|_  Item 1
    item 2
    <Folder>
    |_ Item 1
        Item 2
    Item3

how can I create a folder in the tabular section? Can anybody help?

 
#2
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Feb 13, 2012
Company: C.K. Elektronic Vertriebs GmbH

i forgot, i work with managed forms.

 
#3
People who like this:0Yes/0No
Active user
Rating: 3
Joined: Sep 16, 2011
Company: individual

Hi, mkolhoff, for that you can use ValueTree form attribute and load/save data into/from it on read/write your document.

 
#4
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Feb 13, 2012
Company: C.K. Elektronic Vertriebs GmbH

Hallo Samuel,

thanks, that is what i also tested but i can only insert a new row, not a new folder.

 
#5
People who like this:0Yes/0No
Active user
Rating: 3
Joined: Sep 16, 2011
Company: individual

You can change row picture for it to folder and make it look like a folder. Use custom command for this kind of rows creation.

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.