ulisses
ulisses

Reputation: 1581

How to set position columns Grid by alphabetic Label order in Form?

how to set position columns in form dynamics ax by alphabetic Label order ?

I have a Grid in my Form, I want to set the colums position Grid , I think to set this with code x++ in Form Init method, but I don't know how to do.

Thanks for help,

enjoy!

Upvotes: 0

Views: 683

Answers (1)

Matej
Matej

Reputation: 7627

You have to add fields manually with the addDataField method on the FormBuildGridControl.

You can see an example in \Classes\SysTableBrowser\showAllFields

Upvotes: 3

Related Questions