2

I am creating a new grid in AX 7. Does anybody know how to prevent the grid from creating a "default line"?

Here is what it looks like when I open the form with an empty grid: Empty form with default line

Here is what I would like it to look like: What it should appear on opening

I've played around with the insert method on the table, the init method on the form, and some methods on the grid control but I can't seem to find a proper solution for this.

Jan B. Kjeldsen
  • 17,817
  • 5
  • 32
  • 50
rjv
  • 1,058
  • 11
  • 29

1 Answers1

3

It should be a property on the DataSource that is attached to the grid. InsertIfEmpty=No. See screenshot.

Screenshot

Alex Kwitny
  • 11,211
  • 2
  • 49
  • 71