How to view the records in datagrid using Combo Box Selection
hi friends,
i having one combo box,that combo box having 10 students name in list format.
If i click any one of the students name it will only show the Particular student record in datagrid with respective fields(student name,rollnumber,percentage);
how i will do this
please give any suggession or show snippet demo.
it will be more helpful to do this,
Thanks in advance
B.Venktesan.
Hi,
As your requirement , i think you will have to use selectedItem or selectedIndex property of combobox. And accordingly fetch data and provide it to dataprovider of datagrid.Following code can help you.
<?xml version="1.0" encoding="utf-8"?>
<s:Application
xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="
library://ns.adobe.com/flex/spark" xmlns:mx="
library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<fx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
import mx.controls.Alert;
import spark.components.List;[
Bindable]
var array:ArrayCollection = new ArrayCollection();
public function insert():void{
array.addItem(Combo1.selectedItem
as String);DG1.dataProvider=array;
]]>
</fx:Script>
<s:ComboBox x="118" y="64" id="Combo1" change="insert()" >
<s:dataProvider>
<s:ArrayList>
<fx:String>AAA</fx:String>
<fx:String>BBB</fx:String>
<fx:String>CCC</fx:String>
</s:ArrayList>
</s:dataProvider>
</s:ComboBox>
<mx:DataGrid x="118" y="154" id="DG1" >
<mx:columns>
<mx:DataGridColumn>
</mx:DataGridColumn>
</mx:columns>
</mx:DataGrid></s:Application>
Thanks and Regards,
Vibhuti Gosavi | [email protected] | www.infocepts.com
Similar Messages
-
HOw to view the records in a structure qaqee ?
hi every one ,
we can view the tble through SE16
HOw to view the records in a structure qaqee ?
Thanks in advanceHello,
Please check the link
http://help.sap.com/saphelp_erp60_sp/helpdata/EN/90/8d7301b1af11d194f600a0c929b3c3/content.htm
You can view the struture in SE11 t-code for its components.
Regards,
Shailesh -
How to view the No. of connections used in DB as Normal user?
Hi,
I have an clarification about to view the number of connections in DB as normal user.
As sys user, we can see the Max. no. of connections / number of connections used in Database. In the sameway, Do we have any option to
view those details as normal user [I.e. As normal user without DBA Rights ]. Please let me know if its possible.
Kindly clarify me on this.
Thanks,
Orahar.With due respect i wish to say, suppose my car (session) is running on road (db). If i ask how many cars (sessions) are there at presently on road (db); don't you think i am asking bit unproductive question? Suppose any how i got a number say 100 ; so now what this 100 can help me; what i am going to solve by this 100.
if you knows all why’s answer, then there are answers for all hows for sure!
Regards
Girish Sharma -
Changing xy graph scale using combo box selection
Hello,
I have a xy graph with x scale set to 10k and y scale set to 6 by default.
I have a combo box which i use to select what the graph will display. For example in combo box i have 3 choices, A, B, C.
If i select A, xy scale is set to 10k and 6. If i select B, xy scale is set to 2.5k and 8, if i select C, xy scale is set to 4k and 10 respectively. Is there some functions that i can use to do this?
Thanks.
Solved!
Go to Solution.Like this (attached)?
Of course, if the data actually follows these mins and maxes, you could just turn on auto scaling and it would do it automatically
Tim Elsey
LabVIEW 2010, 2012
Certified LabVIEW Architect
Attachments:
Untitled 1.vi 14 KB -
How to view the certificate that a component has been signed with?
Hi all,
Been using java webstart deployment for a while so understand how to sign and deploy java applications.
Question I have is how to view the certificate that was used to Sign a jar. For example, if I signed a jar "myComponent.jar" how can I then view the certificate details within this jar. I currently have an old component which I signed with an old certificate and want to view the experation details.
Thanks in advance
Simon
Edited by: simon_seagroatt on Sep 22, 2009 4:20 AMYou can use command (it will show CN, OU, O, L, etc... and expiration date, of course):
jarsigner -certs -verify -verbose pathToYourJar.jarI'd suggest redirecting output (>>out.txt).
Bye. -
Hi i am using oracle 10g how to view the content of the stored procedure or trigger ?
Hi i am using oracle 10g .How to edit the content of the stored procedure or trigger ?
jklopkjl wrote:
Hi i am using oracle 10g .How to view the content of the stored procedure or trigger ?
query ALL_SOURCE
SQL> desc all_source
Name Null? Type
OWNER VARCHAR2(30)
NAME VARCHAR2(30)
TYPE VARCHAR2(12)
LINE NUMBER
TEXT VARCHAR2(4000) -
How to find the records using contains with the word like this 'some text-some text'?
Hi,
How to find the records using the full text contains keyword and that column contains ‘some text-some text’
In the above some text can be anything.
Does anybody know please let me know.
Thanks,Hello,
You can try to create a Full Text Index on the table and use CONTAINS() to get the record which contains the specify words.
For example:
SELECT * FROM TABLE WHERE CONTAINS(column_name, 'some text')
Reference:
Full-Text Search (SQL Server)
Creating Full Text Catalog and Full Text Search
Regards,
Fanny Liu
Fanny Liu
TechNet Community Support -
How to view the sql query?
hi,
how to view the sql query formed from the xml structure in the receiver jdbc?You can view SAP Note at
http://service.sap.com/notes
But you require SMP login ID for this which you should get from your company. The content of the notes are as follows:
Reason and Prerequisites
You are looking for additional parameter settings. There are two possible reasons why a feature is available via the "additional parameters" table in the "advanced mode" section of the configuration, but not as documented parameter in the configuration UI itself:
Category 1: The parameter has been introduced for a patch or a SP upgrade where no UI upgrade and/or documentation upgrade was possible. In this case, the parameter will be moved to the UI and the documentation as soon as possible. The parameter in the "additional parameters" table will be deprecated after this move, but still be working. The parameter belongs to the supported adapter functionality and can be used in all, also productive, scenarios.
Category 2. The parameter has been introduced for testing purposes, proof-of-concept scenarios, as workaround or as pre-released functionality. In this case, the parameter may or may not be moved to the UI and documentation, and the functionality may be changed, replaced or removed. For this parameter category there is no guaranteed support and usage in productive scenarios is not supported.
When you want to use a parameter documented here, please be aware to which category it belongs!
Solution
The following list shows all available parameters of category 1 or 2. Please note:
Parameter names are always case-sensitive! Parameter values may be case-sensitive, this is documented for each parameter.
Parameter names and values as documented below must be used always without quotaton marks ("), if not explicitly stated otherwise.
The default value of a parameter is always chosen that it does not change the standard functionality
JDBC Receiver Adapter Parameters
1. Parameter name: "logSQLStatement"
Parameter type: boolean
Parameter value: true for any string value, false only for empty string
Parameter value default: false (empty String)
Available with: SP9
Category: 2
Description:
When implementing a scenario with the JDBC receiver adapter, it may be helpful to see which SQL statement is generated by the JDBC adapter from the XI message content for error analysis. Before SP9, this can only be found in the trace of the JDBC adapter if trace level DEBUG is activated. With SP9, the generated SQL statement will be shown in the details page (audit protocol) of the message monitor for each message directly.
This should be used only during the test phase and not in productive scenarios.
Regards,
Prateek -
Regarding how to delete the record in internal table
Hi experts ,
how to delete the record in intarnal table after validating the data,
if record contains invalid fields?
i am giving my code see this and give me the answer?
loop at it_data into wa_data .
Validate Cost Center
READ TABLE it_kostl INTO wa_kostl WITH KEY kostl = wa_data-kostl BINARY SEARCH.
IF sy-subrc NE 0.
PERFORM update_error_log USING wa_data
text-004.
ENDIF.
Validate source file material ( material number )
loop at it_mara into wa_mara .
read table it_ausp into wa_ausp with key atwrt = wa_data-i_matnr .
if sy-subrc NE 0 .
PERFORM update_error_log USING wa_data
text-002.
delete it_data-objek .
else.
read table it_mara into wa_mara with key matnr = wa_ausp-objek .
if sy-subrc EQ 0 .
wa_data-objek = wa_mara-matnr.
wa_data-matkl = wa_mara-matkl.
ENDIF.
Modify it_data from wa_data .
endif.
*endloop.
Validate unit of measure (unit)
READ TABLE it_t006 INTO wa_t006 WITH KEY msehi = wa_data-unit .
IF sy-subrc NE 0.
PERFORM update_error_log USING wa_data
text-003.
endif.
Validate delivery location ( storage location )
READ TABLE it_lgort INTO wa_lgort WITH KEY del_loc = wa_data-del_loc.
IF sy-subrc NE 0.
PERFORM update_error_log USING wa_data
text-001.
if wa_data-flag ='x' .
delete it_data from wa_data .
endif.
ENDIF.
endloop.Hi Naren,
First get the index number of the IT_data table and store it in one variable whose declaration like this.
data: tabix type sy-tabix.
while reading the internal table it_data set the tabix variable.
tabix = sy-tabix.
Instead of the above use below one.
Delete it_data-objek
Use the Below statement it will delete the row from the internal table.
Delete it_data-objek index tabix
Thanks,
Chidanand -
How to View the Scheduler in ODI Console
Hi
In ODI Studio, we may Schedule a Scenario and also, we may view all Schedules process from the Agents (View Schedule option).
My colleagues are going to use ODI Console, but we cannot find out HOW to View the Schedule in ODI Console.
In Oracle documentation about FDMEE, we can read the following: If you want to cancel a specific instance of a schedule, use the ODI Studio or ODI Console... see the PDF document in attachment.
Regards
ClaudeTo display the schedule for one agent:
In Topology Navigator expand the Agents node in the Physical Architecture accordion.
Select the Physical Agent you want to update the schedule.
Right-click and select View Schedule.
The Schedule Editor appears, displaying the schedule for this agent.
Check: http://docs.oracle.com/cd/E17904_01/integrate.1111/e12643/running_executions.htm#ODIDG634
HTH -
Jasmine -
Unable to view the records in transations
We are unable to view details for Open invoices of one dealer in receivables account details and advise why we cannot view the records in Transactions or re-print the invoices
Hi Ravi,
Thanks for replying.
But here I have one Query -if the view is not active how could we see the data in RSA3?
S VR -
How to view the source code for Native Method
hi
i am using some native methods in to my code ;
can anybody tell me how to view the source code for the same ;
nikBuy/acquire a C/C++/assembly code disassembler and run the shared library through it.
-
How to view the purchase order output
Hi all,
how to view the purchase order output in the transaction me23n?
How to obtain the purchase order output form?
Please help..HI,
goto NACE tcode then select the purchase order type and go to output types u cna use standard one NEU and provide the sapcript name and form name default will be there with MEDRUCK and print program.
then in ME23n click on messages there create ur message type NEU and save it
then print the purchase order...
hope u get solved with this
Regards
Syed A -
How to view the table at the application level
Dear All,
How to view the table in the Data Dictionary at the application level, If a table is created at the database level by using CREATE statement.
code/
create table zmard as select * from sapone.mard where 1 = 2
/code
I would like to view the table above, which is created at the Oracle database level in the Data Dictionary.
can anyone guess the solution.
Best wishes
MaheshHi
U should create a program using SQL native in order to select and show the data.
By SE11 or directly in the program u can define a structure like your table:
DATA: BEGIN OF W_ZMARD,
FIELD,
END OF W_ZMARD.
EXEC.
OPEN CURSO FOR SELECT * FROM ZMARD
ENDEXEC.
DO.
EXEC.
FETCH NEXT CURSOR INTO :W_ZMARD
ENDEXEC.
IF SY-SUBRC <> 0.
EXIT.
ENDIF.
WRITE: / W_ZMARD-FIELD,
ENDDO.
EXEC.
CLOSE CURSOR
ENDEXEC.
I don't know if it's possible to create a view in SE11, because it's needs a table just defined in SE11, u can create a new view ZMARD based on MARD but I don't believe it'll use your table.
Max -
Hi
Can anyone explain me like how to view the Customer and vendor invoices through T.Code or through path.
Thanks & Regardshi,
you can view the customer & vendor invoice by giving the FI document number in FB03. Then you can Go for Environment - Document Environment - Original Document. This will take you to the Customer invoice which was raised in the SD module. or vendor invoice which was raised in the MM module.
you can follow the same process from the FI report : FK10N for vendors & FD10N for Customers.
hope its useful.
regards,
R.Ramakrishnaraj
Maybe you are looking for
-
Cannot delete music from ipod nano if not connected!
I couldn´t believe it´s not possible to delete files from my ipod nano 4G when not connected to my PC !! I use it to record talks (w/ XtremeMac´s MicroMemo) and I needed to make some room to record important talks in a seminar and I found it´s imposs
-
Can it harm my ipod if this is the first time it's happened? What can it do if you don't eject it from itunes first? Can it harm or corrupt files? How would I know? It wasn't syncing at the time I took it out of the computer.
-
When will the Sony SEL18200 telephoto lens for the Sony NEX-3 be available online?
I chose this camera over the full size Sony Alpha Series cameras due to its smaller size and the "coming soon" SEL18200 lens that was on the Sony website, in-box literature, and BB-online. Still waiting.........If I can't get this lens at Best Buy,
-
Marketing survey responses not received
Dear Experts, CRM 6.0 We have created a survey in CRM_SURVEY_SUITE and have included the URL for the survey in a mail form. Subsequently we created an email campaign which sends out the survey to the customers. Once the customers receive the survey,
-
Concurrent Manager is very slow
hi, My concurrent Manager is very slow. It is taking 1 min to run simple reports also why it is so... can anybody help me please...how to get rid out of this problem My version is 11.5.9 I put processes for concurrent standard manager as below actual