web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

FormTableControl not updating view

(0) ShareShare
ReportReport
Posted on by 81

Hi,

I have a FormTableControl that I am populating from a query. Here is a small example, however the view never updates:

FormTableControl resultsTable = element.design().controlName('FormTableControlResults');
resultsTable.clear();
int numOfRows = 2; 
resultsTable.columns(4);
resultsTable.rows(numOfRows);
resultsTable.setColLabel(1, "Sku");
resultsTable.setColLabel(2, "MfgPartNo");
resultsTable.setColLabel(3, "BusinessUnit");
resultsTable.setColLabel(4, "MatchType");
resultsTable.update();              
              

  • Suggested answer
    huijij Profile Picture
    19,813 on at

    Hi PhillyNJ,

    It is recommended you check the allowEdit property settled on the container control which determines whether the user can modify the contents of the control. The following example shows how to return and set the value of the allowEdit property.

    // Return the value. 
    info (strfmt("allowEdit: %1", this.allowEdit())); 
    // Set the value. 
    this.allowEdit(false);

  • PhillyNJ Profile Picture
    81 on at

    resultsTable.allowEdit(false);

    Hi,

    Unfortunately. getting and setting the allow edit property did not work.

  • huijij Profile Picture
    19,813 on at

    Maybe you can set the control 'FormTableControlResults' as "AutoDeclaration" to YES.

  • PhillyNJ Profile Picture
    81 on at

    Judy,

    Unfortunately setting the control 'FormTableControlResults' property  "AutoDeclaration" to YES did not help.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 523 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 408 Super User 2026 Season 2

#3
CU10121822-0 Profile Picture

CU10121822-0 354

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans