How to disable specific columns in a table
Hello world
There are two buttons in my code (SHIFT and general). When I press the SHIFT key, general column should disable & grey outside, but all three move the columns (Shift1, Shift2, Shift3) should be in an editable state. Like the picture below
and then vice versa case (if I press the general button). Like the picture below
There is no action in the table if the two push button on a high value. I guess that there must be an easy fix, but I just couldn't get there. Please understand it.
Thanks in advance.
Use a semi-transparent image on the columns to turn off. Make the visible decoration or not depending on the State of the Boolean value. The columns will be always 'on' but will be not clickable.
Tags: NI Software
Similar Questions
-
How to remove a column from a table in a dell identtiymananger 7.0
How to remove a column from a table in a dell identtiymananger 7.0
Hello
In Version 7 of the removal of a single custom column can be accomplished by a stored procedure, available in the database called: QBM_PColumnDrop
Hope that helps.
Cordially Fatih
-
Oracle how to multiply two columns of different tables and results
Oracle how to multiply two columns of different tables and get the result in the third column?
I want to multiply all the lines of the quantinty column in the table of quantity with the relevant lines of the table of prices price column and get the result of multiplying in the third column. What should I use procedure trigerr? OR IS IT POSSIBLE HOW TO DO IT PLEASE HELP :D
Edited by: 994229 2013-03-15 12:44/* Formatted on 3/15/2013 3:51:08 PM (QP5 v5.185.11230.41888) */ CREATE TABLE mytable1 AS (SELECT 1 id, 5 VALUE FROM DUAL UNION ALL SELECT 2, 7 FROM DUAL UNION ALL SELECT 3, 8 FROM DUAL); CREATE TABLE mytable2 AS (SELECT 1 id, 4 VALUE FROM DUAL UNION ALL SELECT 2, 12 FROM DUAL UNION ALL SELECT 10, 12 FROM DUAL); SELECT id, mytable1.VALUE, mytable2.VALUE, mytable1.VALUE * mytable2.VALUE product FROM mytable1 FULL OUTER JOIN mytable2 USING (id) ORDER BY id;
ID VALUE VALUE_1 PRODUCT 1 5 4 20 2 7 12 84 3 8 10 12
-
How to group by on specific columns in a table
In my interface on the target table, I use a function of aggregate Max() on 2 columns in the table, but by default it's Group on all columns of the table.
I want to do ' group of ' only on a column in the table.
How can I do?
Thanks in advance.
KshipraIt is the nature of the defect of the ODI, when you use an aggregate function (min, max, sum, etc.) ODI will automatically create a group by clause on the rest of the mapped columns.
If you want to generate a clause "group of" only on a column in the table, then:
Use plus/minus on the rest of the non-numeric columns and sum/max/min function on all numeric columns.
Thank you
Parasuram. -
Disable the column in a table.
Hello
How can I disable column in a table.
in collaboration with 4.1 and I Assistant founded in table form.
If I entered the value in a column second column must disable and vice versa?
How can I do this?
Thanks and greetings
CORINECORINE wrote:
Hello
Could you help me to write the code. My column in a table are 13,14,15,16If I type in field 13 then 14 and 16th column should turn off and
If I go should disable the value in field 14 and 13 and 15 column.How can I do this?
Thank you & best regards
CORINEI have not tested this code; but the following may be your approach:
In the field 'Attributes of the element' of column 13, you can call a javascript function:onblur = "javascript:updateCols(this);"
In your browser, right click on each of your columns (one at a time) and select "inspect element" to check the attributes of the HTML element. Assuming that column in the form of your table 13 is rendered in the HTML like f13, 14th column as f14, 15 columns as f15 and 16th as f16, write this JS function in the HTML page header:
The JS function above is triggered when the user moves out of column 13. The function then checks the length of the value entered by the user in column 13. If the length is greater than 0, it disables the columns 14th and 15th. Otherwise, it allows them.
The code above is for your first scenario:
If I get home should disable the value in the field column 13 then 14 and 16
You can do the same for the other scenario.
Hope this is clear. Or otherwise, give me access to your workspace and I try the here above.
-
How to create the column of the table for long-form Master detail relationship
Apex 4.1
Oracle 11g
I created a form master detail and see the main table hotel_list and table hotel_mapping as detailed below.
Hotel_list
ID HOTEL_NAME
1 Holiday Inn
Hotel Hilton 2
Hotel_mapping
ID HOTEL_NAME MAPPING_NAME
1 Inn Holiday Inn Select hotel
2 holiday hotel Holiday Inn Select
3 hotel Holiday Inn Holiday Inn Hotel
4 Hilton Hotel Hilton Hotel chain
Hotel Hilton 5 HiltonHotel
Table Hotel_name Hotel_list is a linked table Hotel_mapping
When I add a line to the Hotel_mapping table for the selected row in the hotel_list table, mapping_name of column is null, therefore impossible to create the relationship between the main table and the secondary table.
I would like to know, how to create the relationship?
Thank you very much
Best regards
Yong Huang,
simple step see creating a form detailed master with APEX - Assistant Master retail
and check how to maintain the relationship between two tables,
simple return the packaged application «Sample of Masters details»
and try to understand this concept...
In your example, use Hotel_list.ID as a foreign key in the table Hotel_mapping
and maintain the relationship with the column ID...
and choose the display type of the column Hotel_list.ID in table Hotel_mapping as List(Query Based LOV) select.
otherwise the best way is to create sample on oracle.apex.com
I hope this helps...
Leave.
-
Select all the values of column except the specific columns in all tables
Hello
I want to display all the column values for all tables in the database, with the exception of 3 columns that exist in all tables...
Can someone give some advice?
See you soon,.Jin
How are you going to display all columns of all tables?
Thank you
Baskar.l -
How to disable the boxes created by table multiplesection.
Hello
I created a table and I added a multiple selection which creates checkboxes in default.i used the "SelectFlag" as a transitional attribute in the VO.
Now, in the t, I have a column name 'Status' which has two values
1 error
2. success.
I showed this column in the table after that the checkbox "select..."
So, my requirement is that when the status is 'Success', then the boxes must be disabled...
Can anyone suggest me the things I need to add in the Page or the controller Code to implement this?
Please its Urgent...//If his classic table, you can use bean to switch to achieve this.
See exercise to delete in the tutorials of Toolbox, he got the step by step procedure to do this.Prasanna-
-
How to search all columns of all tables in a database
I need to search all columns of all tables in a database, I already write the code below, but I got the below error message when running this script
DECLARE
The CNT number;
v_data VARCHAR2 (20);
BEGIN
v_data: = "5C4CA98EAC4C";
FOR t1 IN (SELECT table_name, column_name FROM all_tab_cols where owner = 'admin' and DATA_TYPE = 'VARCHAR2') LOOP
RUN IMMEDIATELY "SELECT COUNT (*) FROM" | T1.table_name | 'WHERE ' | T1.column_name | ' =: 1' IN cnt USING v_data;
IF cnt > 0 THEN
dbms_output.put_line (t1.table_name |) » '|| T1.column_name | | » '|| CNT);
END IF;
END LOOP;
END;
/
Error report:
ORA-00933: SQL not correctly completed command.
ORA-06512: at line 7
00933 00000 - "not correctly completed SQL command.
* Cause:
* Action:
Any help pleaseIf you are running this as a different user than the ADMIN you will also need to add the schema name.
EXECUTE IMMEDIATE 'SELECT COUNT(*) FROM ' ||t1.owner||'.'||t1.table_name|| ' WHERE ' ||t1.column_name || ' = :1' INTO cnt USING v_data;
The error could be any strange names of tables or columns. For example, if they contain spaces in the name.
If you have names, then all identifieres must be placed in "."+ untested example +.
{code}
RUN IMMEDIATELY "SELECT COUNT (*) FROM" ' | "" T1. Owner: ' ». » ' || T1.table_name | " » OÙ « ' || T1.column_name | "" =: 1' IN cnt USING v_data;
{code} -
ADF: How to fill a column in a table with a specific color
Hi all
I want to fill the cells of table with different colors based on the value (for example: 10, 40...) in this cell output text area.
Help, please.
RognardHello
You can use the same code for the inlinestyle column: but it will color the entire column
headerText = "#{bindings." EmployeesView1.hints.Salary.label}.
ID = "c9".
inlineStyle = "#{yourconAttr > 10?'" background-color: Red;': ' background-color: Orange ;'} ">}" -
How to add the column to the table of QSqlDatabase if does not exist
Hello
I have an app World and want to update to include more features.
To do this I need to add more columns in an existing database table created using QSqlDatabase, someone knows how to do this please?
Tim
Hi, you can use ALTER TABLE
-
How to dynamically add columns to the table
Hi all
I'm new to ADF and need help on sub condition.
We have created a ViewObject on the EMPLOYEE table that has under columns:
EMP_ID,
EMP_NAME,
DEPARTMENT,
COST_CENTER,
BUSINESS_UNIT
COUNTRY
GCODE
We need to create a page in the ADF with employee table to show only below the columns
EMP_ID,
EMP_NAME,
DEPARTMENT,
COST_CENTER
Later, if necessary user should be able to add other columns to the page dynamically.
Can you please advice on how to implement this feature.
Thank you.
Kind regards
Vidya
Hello.
There could be a simple solution, which is to use the component PanelCollection.
Drag ' drop your VO to a page and create a Table with all the attributes.
For columns that emp_id, emp_name, cost_center, set the Visible property to false.
Put the PanelCollection component on your page and drag your table inside.
When you run the page you will see the view menu in the upper left corner of the table above. You can show/hide columns in this menu.
-
How to make 2 columns in the table with a long row of data Tyube
Hello world
I want to do in my column of table 2 with data Tyube long raw
How this
Thank you very muchI don't think it's possible, use BLOB.
-
How to hide the column in a table in the adf.
I created the table of the ADF and surround it in the collection of panels, the data in the table from the bean to support variable. Depending on the State, there are a few columns that must hide with the user. I used visible = "false", where the false value will come from backing bean. However the user to the table always have the ability to display the column. Is there any one to hide the column with the user at all times. Fixing the code example:
< af:column sortable = "false" headerText = "column1" id = "c13" visible = "false" >
"" < af:outputText value = "{row.columns1} ' id ="ot13"/ >
< / af:column >
Hello
Use the rendered property?
Concerning
-
How to update one column from another table
Hello
We have some sellers who are defined as employees but without employee_id for some reason any. So I would like to update the correct number of a view of HR records. Here is what I tried:
update of po.po_vendors x
Define employee_id = (select apps.per_people_v7 person_id y)
where y.first_name |' '|| y.last_name = x.vendor_name)
Error received: a row subquery returns more than one line.
If I use this instruction to check, I'm correct employee_id or person_id home:
Select apps.per_people_v7 person_id y, po.po_vendors x
where y.first_name |' '|| y.last_name = x.vendor_name
When I checked/compared with some old posts here, I could not just see where I did mistake. Please notify.
Thank you
Ning
Because for the same vendor id, you have a (employee id) id of the person twice in the target table. As Boneist said "fix data, difficulty of the request, fix the requirement...". »
How many sellers are there in your target table?
Maybe you are looking for
-
IMMEDIATELY THE INFORMATION REQUIRED FOR WINDOWS
Hello.I use Windows 7 for a few years, but I always found appropriately slow in terms of log on, closing, opening programs,navigation on IE... (despite having the latest version of Adobe Flash Player, Shockwave player, Java, IE 10.etc). At each time
-
AC adapter - 90 units of safe to use with Thinkpad Helix W?
The power adapter supplied with my Helix 45W unit, model ADLX45NLC2A. There the rectangular yellow tip. I also have some maps for carbon Thinkpad X 1 (90W, same tip) and I have a Lenovo Ultraslim 90W travel adapter with rectangular yellow end (which
-
Make the OfficeJet Pro 8500 A909 series printer compatible with Windows 7 (64-bit)
I was right, but he started from. Could you please send me the link to make the printer compatible with my computer Windows 7 (64 bit) OJ Pro 8500 A909 series? Thank you
-
Q10 blackBerry compose and add e-mail address
I received an email on my BB Q10, which were received in Outlook. When I tried to pass it, he had already two addresses in the send box - neither of which were mine, but were addresses that I knew. I can't remove them to relay electronic mail. The
-
Smartphones blackBerry lost all emails &; SMS after change of date
After that I updated my BB Bold 9000 date 6 July 2015 , I lost all received emails and text messages. It is amazing that this can happen without any warning. This certainly isn't the first time that I am losing all my data. It's so frustrating that I