Thanks for the reply.
The below suggestion works when you bind the ultragrid to an existing
Datasource/View via the Customization Tools Dialog; however in
the "Part Maintenance" or other programs, except for UD02Entry, a
view for table UD02 is not available so I have to get the records via
UD02Adapter. Once I receive the a dataset from the adapter, I am
doing:
ugdEpiCustom1.Datasource = ud02Adapter.UD02Data.UD02
This populates the grid, but I just don't want every column to be
displayed. I noticed that the adapter has a method
called "FormatGridColumns()"; I am just not sure how to use it. I
was hoping someone may have an example of it.
Thanks again,
Percy
The below suggestion works when you bind the ultragrid to an existing
Datasource/View via the Customization Tools Dialog; however in
the "Part Maintenance" or other programs, except for UD02Entry, a
view for table UD02 is not available so I have to get the records via
UD02Adapter. Once I receive the a dataset from the adapter, I am
doing:
ugdEpiCustom1.Datasource = ud02Adapter.UD02Data.UD02
This populates the grid, but I just don't want every column to be
displayed. I noticed that the adapter has a method
called "FormatGridColumns()"; I am just not sure how to use it. I
was hoping someone may have an example of it.
Thanks again,
Percy
--- In vantage@yahoogroups.com, "Matt Barron" <mbarron@...> wrote:
>
> Percy-
>
> Go into the Customization Tools Dialog and click on the List tab on
your
> form. Then click on the UltraGrid that you are trying to customize.
>
> Once you do this, you will see on your Customization Tools Dialog
that
> there is a table with check boxes for each element in the
UltraGrid.
>
> You can click the check boxes under the "Hidden" column to hide the
> information you dont want to display...Make sure you click "Apply"
at
> the bottom and then the Save icon...
>
> Exit out of your customization and get back into it and you should
see
> the changes...
>
>
> Hope that helps...
>
> ________________________________
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On
Behalf
> Of therealhackercat
> Sent: Tuesday, October 02, 2007 9:51 AM
> To: vantage@yahoogroups.com
> Subject: [Vantage] UltraDataGrid Column Format for a udgEpiCustom
> Control
>
>
>
> Hello Everyone,
>
> I have a custom UltradataGrid named udgEpiCustom1 which has a
> Datasource pointing to an Adapter, UD02Adapter; however when the
> UltradataGrid gets populated, all the columns are shown; among
them,
> company name, key1, key2,key3, etc.
>
> I would like for the datagrid only to show selected columns, eg:
key1,
> Char01, Number01
>
> Does anyone know how I format the grid to show only the above
columns?
>
> By the way, the adapter is performing on search fist based on some
> criteria; so the adapter is used dynamically.
>
> Thank you for all your help,
>
> Percy
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>