How to Make DataGrid configured to act only on a Specific column only a Row
Hi, I am having a DataGrid which has been populated with a search result data from DataBase .
Say for example
CustomerID Name Email 100 Ravi [email protected]
Now my requirement is When the user clicks on CUstomerID only i want to generate an event , but not not to any other coulmn on that particular row
(Means for example i dont want to generate an event when he clicks on email or name in my case.) Please tell me how to implement this ??
You can solve this by using a custom item renderer:
mxDataGridItemRenderer_customerId.mxml:
<?xml version="1.0" encoding="utf-8"?>
<s:MXDataGridItemRenderer
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
focusEnabled="false"
width="100%"
autoLayout="true"
autoDrawBackground="false"
>
<fx:Script>
<![CDATA[
import mx.controls.Alert;
protected function mxdatagriditemrenderer_clickHandler(event:MouseEvent):void
Alert.show('click');
]]>
</fx:Script>
<s:Label id="customerId" text="{data.customerId}" click="mxdatagriditemrenderer_clickHandler(event)"/>
</s:MXDataGridItemRenderer>
inside your data grid:
<mx:DataGridColumn headerText="CustomerId" width="100" itemRenderer="mxDataGridItemRenderer_customerId" />
Similar Messages
-
when I run a web browser immediately loaded two blank tabs. How to make the browser load the only one?
Did you check the home page setting to make sure that if doesn't have pipe (|) symbols?
See these articles for some suggestions:
*https://support.mozilla.org/kb/Firefox+has+just+updated+tab+shows+each+time+you+start+Firefox
*https://support.mozilla.org/kb/How+to+set+the+home+page - Firefox supports multiple home pages separated by '|' symbols
*http://kb.mozillazine.org/Preferences_not_saved -
How to make iPhone 4S Wi-Fi only
Hello,
I am going overseas to Iceland so I wanted to know how to make my iPhone Wi-Fi only so I won't get any extra charges on my bill.
Thanks,
Channingssschmidt's instructions WILL NOT do what you want.
-
How to make a DFF in read only mode
Hi All
There is a requirement to male an descriptive flexfield (in Puchasing PO Headers) i read only mode for all the users.
So that user must not select any values, Is any way to do this. Any workaround is possible ?
RegardsHi;
Please follow below and see its helpful:
[Solved] How to make a DFF segment 'Read-Only' using Form Personalization?
Also check:
http://download-west.oracle.com/docs/cd/A60725_05/html/comnls/us/fnd/ogenff03.htm
Regard
Helios -
How to make a DFF as Read only field
How to make a DFF as Read only field
Hi,
You can add the read only token ($RO$) to any of the segments in the list. For example:
segmentlist = "Context1|Segment1($RO$)|Segment2..."
Thanks,
Kumar -
How to make Finder NOT to show files from a specific folder in "All My Files"?
Hello!
Can someone please advice how to make finder NOT to show files from a specific folder in "All My Files"? See the attach - I recently installed Civilization 5 from Steam and now I have a lot of unneeded files (*.log and *.ini) shown in All My Files colder in Finder.
I don't want to see them. Any advise?Using "All my Files" was very handy before all this rubbish popped up. =(
-
How to make select list as read only
Hi All.
when i m loading a page ...how to make value of select list as read only ..
i tried doing this ....
i added readonly attribute to the select list's element attibute ...it is showing as read only field by darkening the select list field but ... the select list is editable even now... its allowing to choose from drag and drop ...
Thanks & Regard ,
NandiniI have the same requirment..
I have a select list on a editable form and i want to make that one read only.
When I use read only property it doent do anything. (But this is working for text items well).
When I use "disabled' option it works fine. But then that value does not post when use POST the form. So making select list disabled is not a solution.
Any Idea..
Thanks
mc -
How to make few DFF fields read only in Forms
Hello.....
I am having an Issue in forms customization through custom.pll
I need to make few DFF fields read only in HRMS enter and maintain form through custom.pll
I tried with fnd_descr_flex.update_definition but in vain
So please help me how to rectify this issue.
Edited by: user.nazeer25 on Jul 9, 2010 5:27 AMHello,
Wrong forum.
Ask this kind of question in the E-Business Suite forum ;-)
Francois -
How to Make DFF in Query Mode only ...
Hi Gurus,
I have some Doubts in DFF, Say I have Two Segments
Segment A: Driving Liciense
Segment B: Passport Information
My Requirment is how to make Segment B as Query mode only ..
Any one pls help me on this ...
with regards
User600722Hi
Can't remember if there's an option in the flex definition form, as enable check box will cause the segment to not show if unchecked. If that's not the solutions, there's the flex definition call that may enable You to modify the flex definition on form launch, but You'll have to look on the flexfield's user guide as I'm not sure if read only can be applied to an individual segment or it's for all of them. -
How to make sold to party to only order and ship to party to only delivered
Dear friends.
How to make sold to party say 123456 to only order goods and should not be delivered goods if made ship to party in particular sales order.(customer 123456 is defined in customer master as both sold to party and ship to party).Similarly how to make ship to party xyz to be only delivered GOODS and should never order goods when made sold to party in particular order.(customer XYZ is defined in customer master as both ship to party and sold to party).
I created delivery block for Customer 123456 and ordering block for XYZ ,but it does not work?
Please give your views
Thanks
Ranganathan VHi Amit,
you are right,why should we define sold to party as ship to party when you do not want it be delivery or ship to part as sold to party when you don't want it to order?
but situation is like this ,my sap customer has clients which are defined as both sold to party and ship to party.In one sales order it will be sold to party ,but in other order it will be ship to party.
in these conditions how do we go about ?
is there any settings available in customer hierarchy ?
please let me know
Thanks
regards
Ranganathan V -
How to make a checkbox as read-only ?
Hi,
My current requirement is to make a checkbox as read-only. Previously, the checkbox has been declared as
PARAMETERS: cb_gr AS CHECKBOX DEFAULT 'X'.
Now am required to make this as read-only. There are <b>no screens</b> defined in the report containing this checkbox and so am not knowing where to give the statement
LOOP AT SCREEN.
**Make the checkbox as disabled**
ENDSCREEN.
It is known that this statement has to be given in the PBO of a screen. So kindly guide me at the earliest on how to resolve this issue.Hi aISWARYA ,
Here is the Example for making the report parameter as Read only using the Report Event , Dont need and screen Number for it , becuase your selections itself is an Defualt 1000 screen which as PAI & PBO , in which it maintains this Report Events in it .
"Change the Input Fields Dynamically in a Screen
'The following example may help you:
SELECTION-SCREEN BEGIN OF BLOCK 001.
PARAMETERS: P_MRU RADIOBUTTON GROUP SEL DEFAULT 'X' USER-COMMAND AC,
P_PART RADIOBUTTON GROUP SEL.
SELECT-OPTIONS P1 FOR <field> MODIF ID PRT.
SELECT-OPTIONS G1 FOR <field> MODIF ID MRU.
SELECTION-SCREEN END OF BLOCK 001.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF P_MRU = 'X'.
IF SCREEN-GROUP1 = 'PRT'.
SCREEN-INPUT = '0'.
ENDIF.
IF SCREEN-GROUP1 = 'MRU'.
SCREEN-INPUT = '1'.
ENDIF.
ELSEIF P_PART = 'X'.
IF SCREEN-GROUP1 = 'MRU'.
SCREEN-INPUT = '0'.
ENDIF.
IF SCREEN-GROUP1 = 'PRT'.
SCREEN-INPUT = '1'.
ENDIF.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
Reward points if it is usefull .......
Girish -
How to make a schema really READ ONLY
Our legacy database is on 11.2.0.1/Redhat. Last week, one developer by accident changed the legacy schema by executing drop/creat/alter table commands. This causes big problem. Now we want to make the legacy schema absolutely read only. Thus nobody can change the schemas object and data.
There were posts talked about make the tablespace toe read only. That stopped inserting/deleting but one can still change the schema objecs with create, drop and alter, e.g.11:31:41 SQL> create table DUMMY(dummy int);
Table created.
11:32:06 SQL> alter table dummy add ( address varchar(20));
Table altered.
11:24:14 SQL> drop table DUMMY ;
Table dropped.How can I stop this type of changes to the schema?Revoked most privileges from user LCCH (this is the one I want its schema READ ONLY), only leftselect distinct privilege,admin_option from (
select r.role,user,r.privilege,r.admin_option from role_sys_PRIVS r
union
select 'sys',p.* from user_sys_PRIVS p order by 1,2,3
PRIVILEGE ADM
CREATE SESSION NO
SELECT ANY DICTIONARY NO
SELECT ANY TABLE NONow user LCCH can still create table in its own schema13:08:49 SQL> show user
USER is "LCCH"
13:08:56 SQL> create table lcch.DUMMY(dummy int);
Table created.
13:09:33 SQL> drop table dummy purge;
Table dropped.I double checked the privileges granted and confirm that schema has not role granted, no object privileges granted and only the above 3 system privileges granted. -
How to make a link to play only part of a video
Is there a way to make a link to play only a part of an embedded video (from timecode - to timecode)?
Hello,
You can achieve this by using the rectagle tool. You can create a rectangle and place it in the background and change the fill color of the rectangle to "None".
It will make the rectangle transparent and you can also add a hyperlink to it.
If you want to have different hyperlinks to different pages (like you mentioned you want to be linked to next page) then you should not use Master pages as you need to add these rectangles to the pages and not master pages.
If you add the rectangles on Master Page then you can only add one link to it and that will not solve the purpose. And if you use Master page and add rectangle to page then the Rectangle will always be above the Master page content (Master page content is by default in the background and cannot be brought up).
Another option is to add rectangle to master page background and duplicate your master page to create multiple copies of it. After that you can add required links to the rectangles in the master page and associate the pages to the corresponding Master pages.
Hope this helps.
Regards,
Sachin -
Hi,
A client confronted me with the next question:
I have a map with 500 pdf's in it.
Is it possible to make a new file with only the first page of each pdf?
After that to make a new file with only the second page of each pdf?
And after that the third?
Etc.
Is that possible with an action?
Or are there scripts for?
I couldn't find them.
I use an iMac with Acrobat XI.
Any help is very welcome.
Thanks in advance.
BornholmYou can extract each page from each pdf as a seperate page. Once this is done you can select the pages tocombine.
You would have to write custom a custom JavaScript and programatically code the names to combine if the extracted file pages habvestandars naming that could be programed. There maybe some security coding you will have to do because of Adobe restrictions but this all documented in the Acrobat JavaScript Reference. -
How to make the swing drawings to appear in a specific jPanel?
hi,
I have a frame which I divided in two panels - one for the jComboBoxes/buttons and the other one for showing graphics. but the paint(Graphics g) overpaints it all =(
how should my code look like if I want some rectangles (depending on the combo choices and on button click which means update) to appear in the second panel?
the code's structure is like :
import *;
public class NewJFrame extends javax.swing.JFrame {
private JPanel jPanel1;
public static void main(String[] args) {
NewJFrame inst = new NewJFrame();
inst.setVisible(true);
public NewJFrame() {
super();
initGUI();
public void paint(Graphics g) {
g.fillRect (x, y, w, z)
private void initGUI() {
jPanel1 = new JPanel();
// combo boxes and buttons
// action listeners for them
jPanel2 = new JPanel();
// the place where the rectangles should be shown
// and updated if combos are changed and button clicked
}now, I wonder if anyone could possibly give me a hint how to make it correctly, because I'm really a total newb in Java and I can't find any good examples from www which I've search through for the solution.
P.S. is there a plug-in for eclipse for visual programming of the graphics? =)
thank You for the kindest help!
J.M.You should not be mixing AWT and Swing component in
a Swing application, so don't use a Canvas.
If you need some custom painting then you should
override the paintComponent() method of JComponent or
JPanel and then add this component to the GUIwhat does mean the override the paintComponent() method of JComponent or JPanel?
how can I add that component to the GUI?
=)
can you give a short code example, please! the code structure would be more than enough.
J.
Maybe you are looking for
-
Unable to edit track info in iTunes on a Mac Air
Hello, I recently switched from a windows PC to a Mac Air. All my music was organizaed on an external hard drive. I have now imported the music in to my iTunes on my Mac Air. I am unable to edit individual track info when I use "Get Info". I tried to
-
Java.sql.SQLException: Invalid cursor position on saving
Dear all I'm having a problem with saving components on a JSF page. The page is plit in two parts: 1. Save report details, which are being saved correctly. Here is the code public String btnSaveReport_action() { // TODO: Process the button cl
-
Email ID and Swift code through Vendor Mass MAintenance XK99
Dear experts, is there a way to mass update Vendor email lD and swift code through XK99? I found all other fields, but not these two. What could be the work around if not possible through XK99? Thank you and Warm regards, Sumit.
-
OS 9 Classic stalls on start up
I have an iBook, running 10.4.11. I can afford to upgrade to a Pentium processor MacBook, but choose not to do so because of thousands of dollars worth of software I have that works only on OS 9, so I need to keep 10.4, which, on the old Motorol
-
How do I send pictures from iphoto to a group via email instead of to just one individual? I can't type in more than one name or send the pictures to a group.