Sales Order Line Custom Fields  Topic is solved

Discussions relating to Jiwa 7 plugin development, and the Jiwa 7 API.

Sales Order Line Custom Fields

Postby SBarnes » Tue May 26, 2026 3:11 pm

Is there a way to programatically control the position/order of sales order line custom fields in grdLines or is the grid manager in the user interface the only way to do it?
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1712
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 192

Re: Sales Order Line Custom Fields  Topic is solved

Postby Mike.Sheen » Fri Jul 24, 2026 2:50 pm

SBarnes wrote:Is there a way to programatically control the position/order of sales order line custom fields in grdLines or is the grid manager in the user interface the only way to do it?


Sure - you can move the column yourself in code:

Code: Select all
grid.ActiveSheet.MoveColumn(5, 10); // moves column 5 to column 10


you can get the column number from the column Key with:
Code: Select all
int colNo = grid.ActiveSheet.GetColumnFromTag(null, "ColumnKey").Index;
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2625
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 824


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 203 guests

cron