Skip to Content

Rearange Columns visual order.

hello experts,

is there, any way to re-order the columns of one matrix object?

let's say that I have the matrix on the Invoice, and need to show some user fields columns before all the system columns..

how can I perform this in code?

thanks for the help

best regards,

gab.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jul 04, 2010 at 08:14 PM

    Hi Gabriel,

    You can use Form Settings to change the order of the columns in any system form that has a matrix. This can done manually by opening the Form Settings window and dragging and dropping the column names to get the order you require. Please note that these settings are user and form type specific so you'd have to repeat the process for each user.

    There is a way to set Form Settings via the DI API but it's not very pratical because the settings aren't saved and displayed on the form until the user logs out and logs back in again. The object you need is called FormPreferencesService. There are some code examples in the SDK documentation. Again, this must be used on a user-by-user basis for each system form type.

    Kind Regards,

    Owen

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.