Customizing the grid view column order in Epicor 9

Ditto!!!
Great tip!

Thanks, Karen!


--- In vantage@yahoogroups.com, "nbuckman@..." <nbuckman@...> wrote:
>
> Thanks for this tip. It is very useful - and it works in Epicor 9.05.700 ...
>
> - Neil
>
> --- In vantage@yahoogroups.com, Karen Schoenung <kschoenung@> wrote:
> >
> > In Vantage 8, you open the form, change the column order and save layouts, then open your customization , change something? and save the customization. You need to save the layouts before you save the customization...
> >
> > From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Lori Gustafson
> > Sent: Friday, August 31, 2012 1:41 PM
> > To: Vantage Group
> > Subject: [Vantage] Customizing the grid view column order in Epicor 9
> >
> >
> >
> > Does anyone know how to re-order the columns in a grid view through developer? I have a column that I need to move six columns to the right and I would like it to be a global change not just a personalization.
> >
> > Thanks for any feedback.
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
Does anyone know how to re-order the columns in a grid view through developer? I have a column that I need to move six columns to the right and I would like it to be a global change not just a personalization.
Â
Thanks for any feedback.

[Non-text portions of this message have been removed]
In Vantage 8, you open the form, change the column order and save layouts, then open your customization , change something? and save the customization. You need to save the layouts before you save the customization...

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Lori Gustafson
Sent: Friday, August 31, 2012 1:41 PM
To: Vantage Group
Subject: [Vantage] Customizing the grid view column order in Epicor 9



Does anyone know how to re-order the columns in a grid view through developer? I have a column that I need to move six columns to the right and I would like it to be a global change not just a personalization.

Thanks for any feedback.

[Non-text portions of this message have been removed]



[Non-text portions of this message have been removed]
1 Like
Here's a little example changing the location of the TargetJobNum column in the Demand Summary grid on Job Entry.

You'll have to change the GUID, TargetJobNum, and visible position to suit your needs.

Hope that helps,

-Ted



' **************************************************
' Custom code for JobEntryForm
' Created: 8/31/2012 2:54:23 PM
' **************************************************
Imports System
Imports System.ComponentModel
Imports System.Data
Imports System.Diagnostics
Imports System.Windows.Forms
Imports Microsoft.VisualBasic
Imports Epicor.Mfg.BO
Imports Epicor.Mfg.UI
Imports Epicor.Mfg.UI.Adapters
Imports Epicor.Mfg.UI.Customization
Imports Epicor.Mfg.UI.ExtendedProps
Imports Epicor.Mfg.UI.FormFunctions
Imports Epicor.Mfg.UI.FrameWork
Imports Epicor.Mfg.UI.Searches

Public Class Script

   ' ** Wizard Insert Location - Do Not Remove 'Begin/End Wizard Added Module Level Variables' Comments! **
   ' Begin Wizard Added Module Level Variables **

   ' End Wizard Added Module Level Variables **

   ' Add Custom Module Level Variables Here **
   Private dgv As EpiUltraGrid
  Â
   Public Sub InitializeCustomCode()
      ' ** Wizard Insert Location - Do not delete 'Begin/End Wizard Added Variable Initialization' lines **
      ' Begin Wizard Added Variable Initialization

      ' End Wizard Added Variable Initialization

      ' Begin Wizard Added Custom Method Calls

      ' End Wizard Added Custom Method Calls
      dgv = Ctype(csm.GetNativeControlreference("79d55ba4-8cb7-46fa-89c3-01864ffc7c77"), EpiUltraGrid)
      dgv.DisplayLayout.Bands(0).Columns("TargetJobNum").Header.VisiblePosition = 0
   End Sub

   Public Sub DestroyCustomCode()
      ' ** Wizard Insert Location - Do not delete 'Begin/End Wizard Added Object Disposal' lines **
      ' Begin Wizard Added Object Disposal

      ' End Wizard Added Object Disposal

      ' Begin Custom Code Disposal

      ' End Custom Code Disposal
   End Sub

End Class




________________________________
From: Lori Gustafson <lori_gus@...>
To: Vantage Group <vantage@yahoogroups.com>
Sent: Friday, August 31, 2012 2:40 PM
Subject: [Vantage] Customizing the grid view column order in Epicor 9

Does anyone know how to re-order the columns in a grid view through developer? I have a column that I need to move six columns to the right and I would like it to be a global change not just a personalization.
Â
Thanks for any feedback.

[Non-text portions of this message have been removed]



------------------------------------

Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.%c2%a0
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links



[Non-text portions of this message have been removed]
Thanks! That worked perfect.


From: Karen Schoenung <kschoenung@...>
To: "vantage@yahoogroups.com" <vantage@yahoogroups.com>
Sent: Friday, August 31, 2012 1:50 PM
Subject: RE: [Vantage] Customizing the grid view column order in Epicor 9


Â
In Vantage 8, you open the form, change the column order and save layouts, then open your customization , change something? and save the customization. You need to save the layouts before you save the customization...

From: mailto:vantage%40yahoogroups.com [mailto:mailto:vantage%40yahoogroups.com] On Behalf Of Lori Gustafson
Sent: Friday, August 31, 2012 1:41 PM
To: Vantage Group
Subject: [Vantage] Customizing the grid view column order in Epicor 9

Does anyone know how to re-order the columns in a grid view through developer? I have a column that I need to move six columns to the right and I would like it to be a global change not just a personalization.

Thanks for any feedback.

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]




[Non-text portions of this message have been removed]
Thanks for this tip. It is very useful - and it works in Epicor 9.05.700 ...

- Neil

--- In vantage@yahoogroups.com, Karen Schoenung <kschoenung@...> wrote:
>
> In Vantage 8, you open the form, change the column order and save layouts, then open your customization , change something? and save the customization. You need to save the layouts before you save the customization...
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Lori Gustafson
> Sent: Friday, August 31, 2012 1:41 PM
> To: Vantage Group
> Subject: [Vantage] Customizing the grid view column order in Epicor 9
>
>
>
> Does anyone know how to re-order the columns in a grid view through developer? I have a column that I need to move six columns to the right and I would like it to be a global change not just a personalization.
>
> Thanks for any feedback.
>
> [Non-text portions of this message have been removed]
>
>
>
> [Non-text portions of this message have been removed]
>