Hiding a column Attribute in the Grid Control in a DAC form.

Hi,
My RowsetInfo has a Image AttributeInfo and other kinds of AttributeInfo.I wanted to display the image in a seperate area in the form.The remaining Attributes would come in form as a detail grid.
However, since I bind the Grid control to my rowsetInfo, and also since my rowsetinfo has an image AttributeInfo, I see an Image column there(which ofcourse contains references to these Image objects!!).
I would want to hide this column in the grid.How do I go about it?Do I need to create a seperate rowsetinfo for the Image controlor there is a workaround for this?
Any ideas??
--Sandeep                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Hi,
Going through the previous discussions in this forum, I had also tried the following :
JTable table = detailGrid.getTable();
TableColumnModel tableColumnModel =
table.getColumnModel();
table.removeColumn(tableColumnModel.
getColumn(1));
This doesnot seem to work.I get the following exception:
java.lang.ArrayIndexOutOfBoundsException: 1 >= 0
java.lang.Object java.util.Vector.elementAt(int)
javax.swing.table.TableColumn
javax.swing.table.DefaultTableColumnModel.getColumn(int)
void DAC2Package.DAC2Frame.jbInit()
void DAC2Package.DAC2Frame.<init>()
void DAC2Package.DAC2Application.<init>()
void DAC2Package.DAC2Application.main(java.lang.String[])
Since I have quite a few number of columns in the GridControl, I shouldnot be getting this
exception in the first place.
Also, I donot understand why
tableColumnModel.getColumnCount() prints zero in the console.
Thanks in advance,
Sandeep
null

Similar Messages

  • Upgrading Management Agents after upgrading the Grid Control to 10.2..0.5

    Hello:
    I am pretty new to implementing Grid control. I have been assigned the task of upgrading the Grid control to 10.2.0.5. I successfully upgraded the GC to 10.2.0.5. Now the next task is to upgrade the Agents running on other Database nodes. I have 6 databases running on Solaris 9.0 , few of them running on RHEL 5.0 x86, a few of them on RHEL 5.0 86*64. I am looking to upgrade these agents in one shot. Is there any way I can accomplish this from Grid control. If it is the case, then do I have to download and upload the patchsets for 10.2.0.5 for various platforms into the Grid Control.
    I would be very happy if you could give me valid pointers which would help me to understand and move further.
    Regards,
    Bala

    Yes you can upgrade the agent at one shot.Refer the following OBE
    http://www.oracle.com/technology/obe/obe10gemgc_10204/agentpatch_upgrade.htm

  • How can i confirm that i have the grid control ?

    Hi,
    I have oracle 10g database , we have dbconsole. But i don't know wherther we have the grid control or not ??? how can i check that ??
    And one more thing , i have the oracle 817 databases , in need to register that database into the GRID . Can any one send me the proper doc. for 817 to install into grid control db.
    $ emctl status dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0
    Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.
    http://prodgv1:1158/em/console/aboutApplication
    Oracle Enterprise Manager 10g is running.
    Logs are generated in

    I have oracle 10g database , we have dbconsole. But i
    don't know wherther we have the grid control or not
    ??? how can i check that ?? What are you looking for exactly? What does "do we have the grid control" mean?
    Did you download and install this?
    A "default" install comes with three Oracle homes, with directories db10g, oms10g and agent10g in the 'basedir'. Kinda hard to miss...
    With proper environment setup, you could try
    $ emctl status oms
    To manage Targets (as called in EM terms), you would install a Management Agent on each host to start monitoring hosts, listeners, databases, application servers, oc4j instances, and other types of targets. You "add hosts" via addition of agents.
    And one more thing , i have the oracle 817 databases
    , in need to register that database into the GRID .
    Can any one send me the proper doc. for 817 to
    install into grid control db.No need to send anything, the documentation is available here on OTN (look in the top menu "shortcuts", Documentation -> Enterprise Manager).
    There are several options (version dependent of course) available for deploying agents. But you need a OMS + Repository first.
    Further discussion probably belongs in the dedicated Enterprise Manager.
    Message was edited by:
    orafad

  • Access the gridview of the grid control

    Hi all
    It may seem a weird title, but this is exactly my problem.
    I am using winforms with devexpress tool in my application. I want to access the selected row of a grid view from another form. so I used the following code:
    foreach (XtraUserControl usrControl in splitContainerControl.Panel2.Controls)
                    if (usrControl is MY_USER_CONTROL_NAME)
                        foreach (Control grid_control in usrControl.Controls)
                            if (grid_control is GridControl)
                                //up to this point i must be able to access the grid control, and after that access the grid
    view by using
                                //the following statement as I found in other forum
                                GridView myView = grid_control.ViewCollection[0] as GridView;
    the problem is I cannot get this ViewCollection[] property of the grid control
    any help???

    Hi khidir,
    As far as I know, devexpress is not a Microsoft product, thus the issue of devexpress you could go to the official site of devexpress for professional support.
    The link might be useful to you:
    #How to get field value of selected Row Devexpress GridView?
    http://stackoverflow.com/questions/19206186/how-to-get-field-value-of-selected-row-devexpress-gridview
    The official site of devexpress as below:
    https://www.devexpress.com/
    If you have any further questions, please feel free to post in this forum.
    Best Regards,
    Leo

  • Overview of all the Grid Control Parts

    It's pretty basic how the Grid Control database (OMR), Web Services (OMS) and agent components work together.
    My questions is how these components use different tools such as PL/SQL, Java, OC4J, Application Express, XML and Perl to communicate and perform the work.
    Can anyone point me to documentation for a BIG picture? Describe a overview how this component talks to that component.
    What brings this up, is that I am doing an install. I see some Java errors and it is executing a perl script ConfigureGC.pl. What is really going on here?

    Hi Sonja,
    There is currently no way to do that, since there is no difference between the documents, linked or not.  You can check the note   918386 which explains how this works exactly and why there is no way to know where the document was created originaly.
    Kind regards,
    Fabricius

  • Whats the functional difference between dbconole and using the Grid control.

    I know this may seem like a strange question, but I was wondering if I only have one instance on my server, would benefit would i gain if I installed and configured the grid control
    over the dbconsole that comes with the 11gr2?
    I know the Grid control can discover many databases, but what else can it do that the dbconsole cannot?
    thanks!

    Hi,
    Indeed good question.
    It depends on installation type you selected. But are responsible for user administration in terms of creating, deleting, updating and role assignment tasks to users and groups.
    --CUA is meant for ABAP Installation. CUA is responsible for entire landscape user administration works with RFC connection talking to all ABAP systems
    --UME is meant for Java installations, plus UME is responsible for handling communication between ABAP users and java users.
    UME
    For more details see below links all advantages and disadvantages of both systems and comparisons deliberately.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/d2/3e3842b23d690de10000000a155106/frameset.htm
    Thanks,
    Amit Lal
    P.S Please don't forget to reward pts.

  • The Grid control installer has inside an Oracle Server ?

    Hi
    The Grid control installer has inside an Oracle Server to create the Repository Database or I have to install and Oracle Server before ?
    Thanks

    I have installed both Grid Control and with GC 11g and WebLogic Server and I don't recall creating the respository before the install.
    You will have to choose which install you are going to use. Grid Control 11g requires WebLogic Server install.
    Grid Control 11g >>> http://download.oracle.com/docs/cd/E11857_01/index.htm
    Grid Control 10g >>> http://download.oracle.com/docs/cd/B16240_01/doc/nav/portal_booklist.htm
    KDSDBA
    OCP

  • Hiding a column used in the custom view!

    Hello! I would like to find out if there is any way to do the following: I have a view based on a table (Configuration Manager - Views).  I specified to display 4 columns to show up in the View, so that we can modify the columns without going into the Database.  In the "Default Display Expression" entry on the Info tab of the view, I've specified how these columns should be displayed on the UI. My problem:  I don't want to display the fourth column on the UI at all, but I want this column to still be accessible by administrators via the view!  Is it possible to specify somehow NOT to display this column, but still use it in the view? Thanks for the suggestions! Anya

    Hello! I've actually created a separate view just to hide this fourth column, and we will be using this for the administration (relates to your point b).  However, someone had asked not to use so many views!  Do you know of any problems if several views are being used for the same table? In our case some tables have up to 3 views already. We use this view for the Metadata field, but the Metadata field is an option list (or controlled vocabulary in our terms).  To enable more user-friendly selection, we are using DHTMLX Grid (dhtmlx.com) to display values in the View.  The grid is displaying all columns from the view, by default!  (Perhaps I need to check if I can somehow customize the Grid - however, I was hoping to do this from the View itself) Thanks!

  • Displaying Date types in the grid control

    I have a grid control and one of the column is displaying
    'Date' type data. I am able to see the Date values in the grid, if
    I define the return type of the getter function as String format.
    But the problem with this is, when I click on the Date column
    header, the grid is sorting the rows while treating the Date values
    as String values. And when I change the return type of the getter
    method as Date type (java.util.Date), I don't see any Date values
    in the grid. Do I need to do any additional coding to display the
    date values as Date types to display the data and then to be able
    to sort the grid on Date types.
    Please help.

    You should return Date values to the Flex application and
    store them in the dataProvider associated with that DataGrid. For
    Date-values you have a couple of choices:
    1. Actually store the time (a long Number - milliseconds
    since Jan 1970) and use a labelFunction on the column to format
    that values as a Date. This way sorting will treat the value as a
    number, but it will appear as a Date.
    2. Write your own Sort compare method for that column. Check
    the docs on Sort and SortField.

  • Controlling the Grid Control

    I am using a master detail, say in this example the dept-emp tables. In the gridControl i want to display the Commission column only for DEPT 10. How can I set a CommrowSetInfo3.setDisplayed(false) at runtime for deptno = 20 or 30? I tried using
    String temp = textFieldControl2.getText(); to get the value of the deptno however i am unable to "un"-display the commission. Any help greatly appreciated...Thanks

    The grid control is 'based on' a jtable.
    I had to learn all about this, too, Sha725. If you're going to do much with Jtables, you need to know about the relationship between table models and tables and such.
    I suggest the Core Java 2 Fundamentals Vol 1 and 2 from PTR/PH. You can also use HELP to find out about jtable and tablecolumnmodels and such... but, I found it very, very difficult without a general overview.
    This isn't as much a JDev issue as a basic understanding of Swing components and how everything hangs together.
    I could include lots of code here, but it would be very cryptic unless you have been through a manual on the stuff. ( OH... the stuff is NOT Oracle or JDEV specific ). Simply cutting and pasting code samples I've found, can be quite dangerous without understanding what is going on.
    Sorry if this sounded evasive.
    Good Luck!

  • Error creating a user defined report in the grid control

    I am trying to create a simple User Defined report in the Grid OEM
    Under the 'Elements' tab I have a 'Type' - 'Database Table from SQL'
    And I have this 'Statement' - SELECT * FROM SYS.DBA_USERS
    When I Click the 'Preview' button I get this error.
    Error rendering element. Exception: ORA-00942: table or view does not exist
    I'm logged on as SYSTEM.
    Isn't the SYS.DBA_USERS table accessible by SYSTEM?
    Any advice on what I'm doing wrong/
    Edited by: bfee_sdc on Oct 19, 2010 9:12 AM

    What are the tricks?
    It has to be some what supported since I found this somewhere in an Oracle note...
    How to create custom reports on tables other than mgmt* views.
    To create reports on other tables, grant permissions to MGMT_VIEW user as MGMT_VIEW is responsible for creating reports in grid control
    SQL> GRANT SELECT on SYSMAN.<table_name> to MGMT_VIEW;
    And then create the reports in the reporting framework referencing SYSMAN.<table_name> in the query.
    I tried GRANT SELECT on SYS.DBA_USERS to MGNT_VIEW but this did not work.

  • What are the Grid Control basic features  (without the licensed packages)

    Hi everyone,
    I'm all new to OEM Grid Control and I've been asked to write a document that sums up and explains all the OEM features (Database ones only).
    The reason I created this thread is because I have a problem doing that. Indeed, Oracle insists on their licensed packages in their documentation and doesn't make very clear what's available without any of those packages.
    I've been looking for some other documentation than Oracle one but without much success.
    I really have to know the features available without those packages because I've been asked to determine whether or not Diagnostic Pack, Tuning Pack and Configuration pack are necessary (i.e If we have to purchase the licenses)
    So could anyone tell me precisely what's available without those packages or link me some sources I could use?
    Thank you very much in advance
    Olivier

    Hi Erika,
    Unfortunately, it appears to be true: to be able to get notifications and alerts, you need to have the Diagnostics Pack license. Reference the following document: Oracle Enterprise Manager Licensing Information 10g Release 4 (10.2.0.4.0) Chapter 2: Enterprise Database Management:
    The Diagnostics Pack includes the following features, which you can use after purchasing a license for the Diagnostics Pack.
    Automatic Workload Repository
    Automatic Database Diagnostic Monitor (ADDM)
    Performance monitoring (database and host)
    Event notifications: notification methods, rules, and schedules
    ...In the document that you have cited, I think that "standard" and "out of the box" simply mean that Oracle has these alerts and notifications preconfigured for you when you install the software. But to actually use them, you need to have the appropriate license.
    Regards,
    John P.
    http://only4left.jpiwowar.com

  • How to add a new server to the grid control

    Hi ,
    OEM 10g grid control has already bee installed n our site . But I don't know how a add /configure a new sever / database into that . Do I need to install the agent software on the destination machine OR is there any way to add the new sever from the 10g grid control itself ... Please help me out . You can also revert me back on my id [email protected]
    redgs
    RAHUL

    thnx for replying .
    Could you please tell me the patch number that I need to download for OEM grid control 10.2.0.3 . Actually I searched for lot of docs . But didn't found doc regarding installation of oem agent and agent PATCH number .
    So , Please revert back with necessary Patch number and all the steps that I need to be follow . Thanx in advance
    regds
    RAHUL

  • How to diable the autostart option in the Grid control

    Hi All,
    I have installed OEM Grid control and agent (10.2.0.5) on one of my vmware RHEL 5 (32 Bit) OS . During the OS bootup it will automatically startup the OPMN service and agent service . Is there any way to disable the autostartup during the OS bootup?
    Thanks !
    Kamal

    user10495704 wrote:
    Hi All,
    I have installed OEM Grid control and agent (10.2.0.5) on one of my vmware RHEL 5 (32 Bit) OS . During the OS bootup it will automatically startup the OPMN service and agent service . Is there any way to disable the autostartup during the OS bootup?
    Thanks !
    KamalSame way you do any other process. Take a look at your init.d directory.

  • Hiding a column in an ALV Grid

    Hi ,
    I want to hide a column in an ALV grid and I am doing it as such.However it doesn't work.
    data : gw_fieldcat type lvc_s_fcat,
              gt_fieldcat type lvc_t_fcat.
    perform build_grid1 changing gt_fieldcat.
    form build_grid1 changing p_gt_ss.
    gw_fieldcat-fieldname   = 'UKURS'.
    gw_fieldcat-scrtext_m   = 'Exchange rate'.
    gw_fieldcat-no_out      = 'X'.
    gw_fieldcat-col_pos     = 9.
    APPEND gw_fieldcat TO gt_fieldcat.
    endform.
    Kindly suggest.

    Hi,
    As per code it looks good..check in the debugging corresponding to the field 'UKURS is no_out has value X in the fieldcatalog.

Maybe you are looking for

  • MS office control in WD ABAP

    Hi, I want to display the excel with data in webdynpro. I have data in XSTRING format in node, that i binded to the datasource of MS Excel UI element, I can able to download the xstring to desktop in excel format. but the same xstring i cant able to

  • Reconnection to oracle DB

    Dear Experts, I use oracle thin client. How can my application keep retry of login to database at startup if the database host shutdown? (e.g. ds.setURL("jdbc:oracle:thin:@invalid host:15111:locdb"); If I can create connection pool and execute sql st

  • NI Pal Service Manager memory error on pc startup

    Hello, I have two XP-pc's with NI-488.2 (ver. 2.30) and MAX (ver. 4.0.0.3010) installed. Both pc's give on startup an nipalsm.exe memory error (see attachment). When starting MAX, (if no error) no installed hardware is shown. On both pc's also McAfee

  • ODBC Sql Server shared db link - ORA-24367

    Hello Gurus, I've created shared database link to SqlServer database with this command : CREATE shared public DATABASE LINK apost_shared CONNECT TO cbd_test IDENTIFIED BY cbd_testt AUTHENTICATED BY cbd_test IDENTIFIED BY cbd_testt USING 'post'; When

  • Where am I? linux or Solaris?

    hi, does anyone know how you determine, whether you are running a java application in Linux, solaris, or even windows?? how do i get this info while running a java app??? ... using java code... you know, platform independent.... thx