Specifying The Order Of Toolbar Actions
You can specify the order in which you want actions to appear on the toolbar by controlling the order of the corresponding Action and SystemAction functions in your Data View file. If you want to, for example, always have your custom Close button as the last icon on the toolbar, place the Close Action at the bottom of the list of functions.
Example:
The above example displays the Close button as the last icon on the toolbar.
For more information on using the Action and SystemAction functions, see Adding actions to Data Grids.