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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How can I hide the row in Grid (with out data in datasource)?

(0) ShareShare
ReportReport
Posted on by 578

My table is empty, but the Grid show one Row, how can I hide this row?

is1.JPG

Thanks in advance!

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    236,320 Most Valuable Professional on at
    RE: How can I hide the row in Grid (with out data in datasource)?

    Set InsertIfEmpty property to No (on the datasource).

  • ismaelivan Profile Picture
    578 on at
    RE: How can I hide the row in Grid (with out data in datasource)?

    Thanks Martin, works correctly!

    and also I could eliminate some lines

    this.query().dataSourceName(this.name()).addRange(fieldNum(ItemSpecs, NumPR)).value(NumPR);
    this.executeQuery();

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

#2
Guy Terry Profile Picture

Guy Terry 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans