Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Answered

how Add multiple column values to FormListViewControl

(0) ShareShare
ReportReport
Posted on by 58
hi all
 
How do I add values to more than one column in a list?
 
When using the following code, the addition is done for each row, not in the column positions
 
        FormListViewControl1.addColumn(1, new FormListColumn(/A1/,1, 150));
        FormListViewControl1.addColumn(2, new FormListColumn(/A2/,2, 100));
        FormListViewControl1.addColumn(3, new FormListColumn(/A3/, 3,100));
 
            FormListViewControl1.add(/Value Column 1/,1,1);
            FormListViewControl1.add(/Value Column 2/,1,2);
            FormListViewControl1.add(/Value Column 3/,1,3);
 
 
Can you help me!!!!
  • XPRESS Profile Picture
    XPRESS 58 on at
    how Add multiple column values to FormListViewControl
    Thank you 
    Martin Dráb â€‹â€‹â€‹â€‹â€‹â€‹â€‹
    GirishS â€‹â€‹â€‹â€‹â€‹â€‹â€‹


  • GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    how Add multiple column values to FormListViewControl
    Hi MSCC,
     
    You can refer to NumberSequenceWizard form where the FormListViewControl is implemented.
     
    Thanks,
    Girish S.
     
  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,846 Most Valuable Professional on at
    how Add multiple column values to FormListViewControl
    Use addItem() to add FormListItem object and remember the index returned from this method.
     
    Then call setText(), where the first parameter is the item index, the second parameter is the value and the third one is the column index.
     
    With this knowledge, you can also use cross-references to find examples in the application.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,971 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,846 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans