Multiple buttons in one table column
Hi,
I was wondering if it is possible to create more than one button in a column?
If so, how can I do that? (staticlly and dynamically)
Thanks a lot.
Cheers,
Michael.
Hi Armin,
I want a table with a column containing many buttons.
These buttons will be dynamically generated.
Something like this
Table
Col1 | Col2
ABC |Button1, Button2, Button3.. Button n
XYZ |Button4, Button5... Button n
All buttons are unique and contains images.
There could be many buttons in this column/row. This depends on the data.
Hope this makes it clearer.
Thanks
Michael
Similar Messages
-
Display Data from multiple models in one table
Hi Experts,
Is it possible to display data from multiple models in one table smltnsly.
I have created a table dynamically.Now I would like to display data from multiple models... If this possible,can anyone give me a lead as to how to do it..
Regards
SUHi
Your Model Nodes be
Model1
---Output_Model1
Attrib1
Attrib2
Model2
---Output_model2
Attrib1
Attrib2
and the value node is
ValueNode
---Attrib1
---Attrib2
Now the coding.
int size;
IPrivate<ViewName>.IOutput_mode1Node node1 = wdContext.nodeOuptut_Model1();
IPrivate<ViewName>.IValueNodeElement elem;
size = node1.size();
for(int i=0; i<size; i++)
elem = wdContext.createValueNodeElement();
elem.setAttrib1( node1.getOutput_Model1ElementAt(i).getAttrib1() );
elem.setAttrib2( node1.getOutput_Model1ElementAt(i).getAttrib2();
wdContext.nodeValueNode().addElement( elem );
similar code for Model Node 2
Regards
Abhimanyu L -
How to get the data from multiple nodes to one table
Hi All,
How to get the data from multiple nodes to one table.examples nodes are like A B C D E relation also maintained
Regards,
IndraHI Indra,
From Node A, get the values of the attributes as
lo_NodeA->GET_STATIC_ATTRIBUTES( IMPORTING STATIC_ATTRIBUTES = ls_attributesA ).
Similarily get all the node values from B, C, D and E.
Finally append all your ls records to the table.
Hope you are clear.
BR,
RAM. -
Problem in Keeping one table columns in multiple pages and achive commit
Hi,
i'm using ADF BC+JSF. I have one table which holds 100 column, when i design the UI page, i'm using show one tab to show the fields and kept 50 columns in one tab another 50 columns in second tab. I filled the first tab 50 columns and i try to move to second tab then it showing error stating that you are filled the remaining columns which there in second tab.
pls. help me to resolve.
regards
BmganThanks Steve. Unfortunately we want to validate when users click on a button to fire the commit call. Since we do a lot of partial page rendering and sometimes we have to refresh the entire page (i.e. when coming back from pop-ups), this solution won’t work. Any ideas on how we can validate from the entity while at the same time showing the standard ADF error messages. We tried other approaches (like the ones from the below link) with no luck.
validations, autosubmit and partial page requests -
Why are multiple slides under one table of contents button?
I'm using Captivate 8, and notice that when I preview my course, the table of contents buttons directly correspond with each slide but then after that, the remaining slides are lumped under one table of contents button. How can I fix this? In other words, when looking at the table of contents, it looks like my course only has 6 slides when in reality there's 30...many of which are lumped under the last button.
You have to scroll, they are not under one button at all.
Good practice is to group slides, then you'll see the hierarchy in the TOC and you are able to collapse all groups. That way the TOC will have a clean look, and the user can open a group to see the individual slides. -
Combine Multiple Worksheets into one table
Hello Everyone!
I have 2 Excel worksheets within the same workbook. Both have identical tables with almost the same fields except for 2 or 3 different columns in one of the sheets. Currently I have a macro assigned to a button on one of the sheets and I have to click on
it to combine the 2 sheets. I also have a Pivot Table on one of the sheets which pulls data from the table on that sheet and displays it on the existing sheet.
I wish to :
1. Combine (merge) these two sheets into one table on a new worksheet when Excel file is opened rather than clicking on the button.
2. Once the Excel file is opened, i would like to have the Pivot Table to pull data off the combined sheet and display it next to the combined table. Essentially I would like the Pivot Table to be refreshed with the new data from the Combined table rather
than from one table.
Is this possible ?
I use the following code to combine the two sheets, but I don't know how to proceed further. Can someone please help me with the rest ?? Thanks in advance.
Here's the code:
Option Explicit
Sub Combine()
Dim J As Integer
On Error Resume Next
Sheets(1).Select
Worksheets.Add
Sheets(1).Name = "Combined Results"
Sheets(2).Activate
Range("A1").EntireRow.Select
Selection.Copy Destination:=Sheets(1).Range("A1")
For J = 2 To Sheets.Count
Sheets(J).Activate
Range("A1").Select
Selection.CurrentRegion.Select
Selection.Offset(1, 0).Resize(Selection.Rows.Count - 1).Select
Selection.Copy Destination:=Sheets(1).Range("A65536").End(xlUp)(2)
Next
End Sub
The problem with being punctual is, there's nobody there to appreciate it !!!Hi,
This is the forum to discuss questions and feedback for Microsoft Excel, the issue is more related to Excel DEV. I'll move your question to the MSDN forum for Excel
http://social.msdn.microsoft.com/Forums/en-US/home?forum=exceldev&filter=alltypes&sort=lastpostdesc
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
George Zhao
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
Using DATA_CELL and multiple queries into one table
Hi WAD experts,
I have been trying to work out how to combine multiple hidden query result sets in their own tables in the template, into one table displayed as if the data originated from one query.
I have been looking at using the DATA_CELL method of "modify table" class.
Has anyone had to do this before - and if so do you have any clues as to how best to do this ?
Thanks
ChrisHere is what I want:
Say I have a query that tells me about how many items were sold at a hardware store for each week. Then the output would look something like this:
Week,Item,Num_Sold
13,Hammer,15
13,Nail,594
13,Screw,398
14,Hammer,16
14,Nail,382
14,Screw,331
But I want my output to look like this:
<space>,13,14 <-- these would be the week numbers
Hammer,15,16
Nail,594,382
Screw,398,331
I asked this same question in a SQL-only forum and one person responded that they did not know how to do that. But I figure that this is done often enough that there must be some Open Source program that can transform the output data into a table. As you can see, it's not a pure transform. It's more like I take one column, make that the x-axis, another column, make that the y-axis, and "plot" the data based on the two columns. It's kinda like taking 1D data and making it 2D. There's no existing open source program which does this? I figure that I could just give the program my SQL queries, specify some rule such as "Make the first column of the resultset the row, make the second column the column and create a table with the 3rd row, using the first two rows to map the 3rd row into the table". Note that I think this only works with 3 columns.
Anyway, if there is no simple program that already does this, I can make a program to do what I just described. I just asked the question here because I figure that there are a lot of people knowledgeable about SQL and Java on this forum and that someone would know of a tool which already does what I want if one exists. -
Multiple entries in one database column
Hello.
I am a bit of a php/mysql newbie. I'm trying to figure out how to select multiple data entries from one database column.
For example, I have a column in one table called name_id. I want to assign multiple names to a specific entry in this table. Like, "1,4,12,18", for example. Each of these numbers are the primary keys for my name table. So, I'm trying to assign 4 people to one set of data in this example.
I have seen this done before, I just don't know how to select this data once it is in there. I think it may have something to do with arrays, but I'm not sure.
I hope this makes sense, any help would be much appreciated.That's a poor design plan as it violates the basic rules of normalization and will cause problems in the end. Just create another table to link to and store the one value in each row. If you need more details, then tell us exactly what you are trying to do.
-
Multiple sequences on one table?
I have a simple table with 3 columns: ID, DML_ID and VALUE. The table was designed to be a metadata table with values for certain DML_IDs. The table has been maintained by IT. However, now the users wants to have control over some of the values. Let's call it User_Maintained values. IT does DML on this table and migrate the change to acceptance and production. At the same time users do DML in production. This causes ID conflict between dev, acc and prod.
My solution is to use 2 sequences, one for IT_maintained IDs the other for User_maintained IDs. One of the sequences starts with a much bigger number like 1000000 to avoid the conflict. Create a before insert trigger on the table to pick the right sequence number depends on if the DML is IT or user maintained.
My question here is, is it ok to use 2 sequences on one table? Is it against best practice of Oracle?
Another idea from my co-worker is, use single sequence instead of 2. The sequence will reside in production database and all the 3 databases (dev, acc and prod) will get ID from the same sequence through dblink. Personally I don't like the idea because I don't think getting sequence from production to be used in development is the "best pratice" of Oracle. Although I don't know where I can find the document to support my opinion.
Any idea is appreciated!!
SharonI've discussed with the DBAs and some developers, we all have concern about the idea of one sequence on production being used by all 3 databases (dev, acc and prod). Database clone is one issue. Also making one database (dev or acc) relies on another (production) is not a good approach. Each database should be as independent as possible - only create the linkage when it's necessary. In this case I don't think it's necessary.
I will go with one sequence for user maintained values (in prod), and a manual increase number (max(id) of IT maintained value plus 1) for IT list.
I do all these because the table was a bad design from the first begining so I can't really come up with a correct solution to work around this.
Thanks for everybody who gave input here. Very appreciated! -
Multiple Users sharing one Table
Hi Folks,
I'm a newbie with Apex so please treat gently ;-)
Simple "order entry" application: a table for Orders and another table for Order Items. All pretty run of the mill so far,
but instead of one end user (say the vendor company's telephone operator) typing in orders over the telephone for
several customers, consider opening the application to the several customers so that they can type their own orders
themselves.
The collection of Customers isn't that large (say about 12 or so), hence I'm thinking of just giving them distinct Apex logins
to the application.
I can pickup the login name from APP_USER, but how to copy this in behind the scenes to "customerID" in the Orders
table - the "customerID" field does represent a column in a database table, but I want to force it to the Apex login name
for whatever customer that is attempting to insert a new order.
All the Apex demo stuff shows simple order-items solutions; I'm trying to have a single Orders table with a column in it that tells
me which customer sent in this order, and for the customers using this table to only see their own orders from the same table.
If I was implementing this on the database I would use some sort of View such as "select * from orders where customer = user",
therefore every user would only see their bit of the orders table.
But how to implement this in Apex?
Suggestions and comments gratefully welcomed,
Thanks in advance
Mungo Henninguser515989 wrote:
I'm a Forms developer, and Apex looks intriguing yet formidably intractable. Where are the triggers for
pushbuttons - I can easily create a button but there's no obvious "create trigger" bit to accompany it.
I guess I'm lacking understanding the gut essence of Apex; I've had a look at a few tutorial and the stuff
I've read so far falls far short of acceptability - the manuals have one or two sentences of "aims" at
the start of a section followed by fifty-point lists of "do this, do that" instructions then they round it
off with an audaciously arrogant section at the end along the lines of "Now you know how to do XYZ".
What this lacks is the "essence" of the task - I have to reverse engineer each blooming step to try and
understand what it is meant to achieve.
Have I missed any damn good tutorials out there - there must be some (except those boring Youtube
videos where we watch someone perform the fifty-step routines again without explaining the essence).
Can you tell that I'm frustrated by a lack of documentation; I risk losing your kind support in my early
foray into Apex (help a drowning man please :-)
Thanks again in advance
Mungo :-)Its important to remember that Apex is nothing other than a framework for creating HTML and running web pages. So what used to be triggers are now standard javascript events. Although you will find help on the forum for javascript and maybe some in the documentation, javascript events are standard and not proprietary like Forms triggers were. Its frustrating, but there are a TON of resources (google) on the basics of javascript. For instance instead of when-validate-trigger, you'll probably look at the onblur event to trigger a piece of javascript code to run your validation. You can use onfocus which would be sort of like when-new-item-instance in Forms-speak. -
Multiple Queries on one table....
Hi - I am trying to query the same table multiple times and can't figure out how any help would be GREATLY appreciated!! For example - I have a PRINRPT.CALL_DATE Field and in my SQL Command Statement I have asked it to only bring over PRINRPT.CALL_DATE > 10/31/08...I then count those on my report BUT I would also like to query that same table again with PRINRPT.CALL_DATE = Today - 90 Days and then again PRINRPT.CALL_DATE from 10/31/07 to 10/31/08....I can not figure out how to do this in CR. I tried a formula based on the PRINRPT.CALL_DATE field - but it only returns TRUE or FALSE..I would like actual dates so I can count them in the report to get a total by principal by customer (see below).
Here is my SQL Query - let me know if it is possible please!!! Thanks in advance for all of your help!!
Misty
SELECT ACCT_CLASS.NAME
, ACCT_CLASS.PRIN_NAME
, PRINRPRT.PRIN_NAME, PRINRPRT.CALL_DATE, PRINRPRT.AUTHOR
, CUSTOMER.SALES_Name
, CUSTOMER.SALES_NO
, CUSTOMER.NAME
, CUSTOMER.Customer_Class
, ACCT_CLASS.CLASSIFICATION
, PROJECTS.PRIN_NAME
, PROJECTS.EST_PROF
, SALES.PRIN_NAME
, SALES.NOV_2008_GP, SALES.DEC_2008_GP, SALES.JAN_2009_GP,
SALES.FEB_2009_GP, SALES.MAR_2009_GP, SALES.APR_2009_GP,
SALES.MAY_2009_GP, SALES.JUN_2009_GP, SALES.JUL_2009_GP,
SALES.AUG_2009_GP, SALES.SEP_2009_GP, SALES.OCT_2009_GP,
SALES.NOV_2007_GP, SALES.DEC_2007_GP, SALES.JAN_2008_GP,
SALES.FEB_2008_GP, SALES.MAR_2008_GP, SALES.APR_2008_GP,
SALES.MAY_2008_GP, SALES.JUN_2008_GP, SALES.JUL_2008_GP,
SALES.AUG_2008_GP, SALES.SEP_2008_GP, SALES.OCT_2008_GP
FROM AveWorking.dbo.ACCT_CLASS
JOIN AveWorking.dbo.CUSTOMER ON ACCT_CLASS.CUSTOMER_ID = CUSTOMER.CUSTOMER_ID
LEFT JOIN AveWorking.dbo.PRINRPRT ON ACCT_CLASS.PRIN_NAME = PRINRPRT.PRIN_NAME
AND ACCT_CLASS.CUSTOMER_ID = PRINRPRT.CUSTOMER_ID
AND ACCT_CLASS.NAME = PRINRPRT.NAME
AND PRINRPRT.CALL_DATE > 10/31/2008
LEFT JOIN AveWorking.dbo.PROJECTS ON CUSTOMER.CUSTOMER_ID = PROJECTS.CUSTOMER_ID
AND PROJECTS.NAME = PRINRPRT.NAME
AND PROJECTS.PRIN_NAME = PRINRPRT.PRIN_NAME
LEFT JOIN AveWorking.dbo.SALES ON PRINRPRT.PRIN_NAME = SALES.PRIN_NAME
AND SALES.CUSTOMER_ID = PRINRPRT.CUSTOMER_ID
ORDER BY CUSTOMER.SALES_Name, ACCT_CLASS.PRIN_NAME,PRINRPRT.PRIN_NAME,PROJECTS.PRIN_NAMEThanks so much Carl - that was it...I think I have been staring at this for far too many hours now and can't see what is right in front of me!!
I am still having more issues with it - I hate this report!!!! I am getting duplicate dates & sales populating now. So for example I want:
Principal Name Name sales 09 Sales 08 Dates 3Mo Dates 09 Date 08
So, I am getting Sales 09 & Sales 08 and Dates in 09 coming up multiple times per customer where there really is only one showing in the database for each day. I think it has something to do with the sales connection (the last Left Join on my report). I have ran it soooo many times with groups, without groups, inside out and upside down etc....but if I need an accurate count of the calls made in each column I can't have it duplicating dates...can you tell from my query as to why it might do this???
My ultimate goal is to have one line of data per data field above, then repeat for a new customer.
Any more ideas????
Principal Name Name sales 09 Sales 08 Dates 3Mo Dates 09 Date 08
XXXX XXXXX Total $ Total $ # # #
Thanks again so much, any help you can give is greatly appreciated!!
Misty
Current Query:
select ACCT_CLASS.NAME
, ACCT_CLASS.PRIN_NAME
, PRINRPRT.PRIN_NAME, PRINRPRT.AUTHOR
, CUSTOMER.SALES_Name
, CUSTOMER.SALES_NO
, CUSTOMER.NAME
, CUSTOMER.Customer_Class
, ACCT_CLASS.CLASSIFICATION
, PROJECTS.PRIN_NAME
, PROJECTS.EST_PROF
, SALES.PRIN_NAME
, SALES.NOV_2008_GP, SALES.DEC_2008_GP, SALES.JAN_2009_GP,
SALES.FEB_2009_GP, SALES.MAR_2009_GP, SALES.APR_2009_GP,
SALES.MAY_2009_GP, SALES.JUN_2009_GP, SALES.JUL_2009_GP,
SALES.AUG_2009_GP, SALES.SEP_2009_GP, SALES.OCT_2009_GP,
SALES.NOV_2007_GP, SALES.DEC_2007_GP, SALES.JAN_2008_GP,
SALES.FEB_2008_GP, SALES.MAR_2008_GP, SALES.APR_2008_GP,
SALES.MAY_2008_GP, SALES.JUN_2008_GP, SALES.JUL_2008_GP,
SALES.AUG_2008_GP, SALES.SEP_2008_GP, SALES.OCT_2008_GP,
PRINRPRT.CALL_DATE,
case when PRINRPRT.CALL_DATE BETWEEN '11/01/2008' AND '10/31/2009' then PRINRPRT.CALL_DATE ELSE NULL end as "Call_Dates09",
case when PRINRPRT.CALL_DATE > getdate() - 90 then PRINRPRT.CALL_DATE ELSE NULL end as "3MOCall_Dates09",
case when PRINRPRT.CALL_DATE BETWEEN '11/01/2007' AND '10/31/2008' THEN PRINRPRT.CALL_DATE ELSE NULL END "CALL_DATES08"
FROM AveWorking.dbo.ACCT_CLASS
JOIN AveWorking.dbo.CUSTOMER ON ACCT_CLASS.CUSTOMER_ID = CUSTOMER.CUSTOMER_ID
LEFT JOIN AveWorking.dbo.PRINRPRT ON ACCT_CLASS.PRIN_NAME = PRINRPRT.PRIN_NAME
AND ACCT_CLASS.CUSTOMER_ID = PRINRPRT.CUSTOMER_ID
AND ACCT_CLASS.NAME = PRINRPRT.NAME
LEFT JOIN AveWorking.dbo.PROJECTS ON CUSTOMER.CUSTOMER_ID = PROJECTS.CUSTOMER_ID
AND PROJECTS.NAME = PRINRPRT.NAME
AND PROJECTS.PRIN_NAME = PRINRPRT.PRIN_NAME
LEFT JOIN AveWorking.dbo.SALES ON CUSTOMER.CUSTOMER_ID = SALES.CUSTOMER_ID
AND ACCT_CLASS.PRIN_NAME = SALES.PRIN_NAME
AND ACCT_CLASS.NAME = SALES.NAME
ORDER BY CUSTOMER.SALES_Name, ACCT_CLASS.PRIN_NAME,PRINRPRT.PRIN_NAME,PROJECTS.PRIN_NAME
Edited by: Misty Whitney on Jul 28, 2009 3:07 PM -
Multiple record entry one table one form
Hello guys
I'm trying to do a baseball team site and I'm having problem
inserting multiple players data at one time.
Example:
I'm passing a variable from one game (gameID) to player's
statistic (hits, homeruns, ect). but only one record gets inserted
Here's the codeSure, it's possible
create table scott.a
as
select 1 a, 2 b from dual
union all
select 3 a, 4 b from dual
create table scott.b
(a number, b number, c number, d number)
insert into scott.b
select a1.a,a1.b,a2.a,a2.b from scott.a a1, scott.a a2
where a1.a = 1 and a2.a = 3
P.S. Sorry, at first misunderstood the task
Message was edited by:
Dmytro Dekhtyaryuk -
Help - Multiple Buttons on One Slide
I have a slide with three navigational buttons on it: Menu, Back, Next. I have the pause option checked on the Menu button and I have it set to pause at the end of the slide. These work fine. Menu jumps to one slide. Back goes to the previous slide. Next goes to the next slide. Not sure if you need this information but wanted to add it anyway.
Then I have two additional buttons, "Right Answer" and "Wrong Answer". I did no want to use the Quiz Maker to create some "knowledge checks" so I am creating "interactivity" using buttons and click boxes. (I am using Quiz Maker for the Final Exam portion of the lesson and did not want the "Review Quiz" piece at then to include the Knowledge Checks.) When the user clicks the Right Answer button, I want a caption that I have built to show. If the user clicks the Wrong Answer, I want the user to show another caption and another button (that when clicked, will take the user to the slide containing that information so they can review). The two captions I mentioned here are hidden until the user clicks.
This is not working as I envisioned it. For some reason, only when clicking the Right Answer button does the action do as expected. When clicking the Wrong Answer, it does not. Can someone please help me figure out what I have wrong here?Hi there
Likely what you are encountering is something we all have to deal with. The fact that once a Button has been clicked, the pause is released and the playhead continues merrily along until something else pauses it. Perhaps another Button with the pause point staged slightly farther ahead in time.
Imagine your Captivate movie to be very much like a stream. Imagine you start where the stream begins and you insert a little boat. It floats along until something stops it. Perhaps a stick lying across the stream. That stick is like the pause point on the Button. So let's say you click the Button by pressing it down. Imagine you have pressed the little boat down just as you pressed the button. It slides under the stick and continues until it is stopped again.
What you need is a way to keep the boat paused at the stick. So you need to perform an action. Not only do you press down on the boat, but you reposition it further upstream again so it can float back to the stick where it waits again to be dealt with.
So to accomplish this in Captivate, normally you create an Advanced Action that carries out the act of showing the Caption you want to show, then it repositions the playhead backwards a bit. You can also accomplish this by assigning one of the actions on the button click to be to Jump to the previous slide. And perhaps you time that previous slide as short as can be. Maybe .1 seconds or so.
If you wish to tackle the Advanced Actions avenue, see if the video recording linked below helps.
Click here to view
Cheers... Rick
Helpful and Handy Links
Captivate Wish Form/Bug Reporting Form
Adobe Certified Captivate Training
SorcerStone Blog
Captivate eBooks -
Create Radio button dynamically in Table column.
HI All
I have used following code to create radio button dynamically. but it's getting dump saying that Could not find attribute STATUS.
Here STATUS is the attribute of the node in View context. But why this dump is coming.
Please correct me if any thing worng.
DATA: lr_radio TYPE REF TO cl_wd_radiobutton.
DATA: lr_containr TYPE REF TO cl_wd_transparent_container.
DATA: lr_data TYPE REF TO cl_wd_flow_data.
IF first_time = abap_true.
lr_containr ?= view->get_element( 'ROOTUIELEMENTCONTAINER' ).
lr_radio = cl_wd_radiobutton=>new_radiobutton(
view = view
id = 'RADIO'
text = 'Enroll'
bind_selected_key = 'STATUS'
key_to_select = 'STATUS' ).
lr_data = cl_wd_flow_data=>new_flow_data( element = lr_radio ).
lr_radio->set_layout_data( lr_data ).
lr_containr->add_child( lr_radio ).
ENDIF.
Thank you very much
RamHi Rama,
I solved it.check this code.
i think u did mistake in creating radio button you are not passing the
BIND_KEY_TO_SELECT
instead you are passing KEY_TO_SELECT.
data:lr_column2 type ref to cl_wd_table_column,
lr_radio type ref to cl_wd_radiobutton.
lr_column2 = obj_table->get_column(
id = 'TABLE1_PLANETYPE'
* INDEX = INDEX
lr_radio = cl_wd_radiobutton=>new_radiobutton(
* BIND_ENABLED = BIND_ENABLED
BIND_KEY_TO_SELECT = 'STATUS'
* BIND_KEY_VISIBLE = BIND_KEY_VISIBLE
* BIND_READ_ONLY = BIND_READ_ONLY
bind_selected_key = 'STATUS'
* BIND_STATE = BIND_STATE
* BIND_TEXT = BIND_TEXT
* BIND_TEXT_DIRECTION = BIND_TEXT_DIRECTION
* BIND_TOOLTIP = BIND_TOOLTIP
* BIND_VISIBLE = BIND_VISIBLE
* ENABLED = ABAP_TRUE
* EXPLANATION = EXPLANATION
ID = 'RAD1'
* KEY_TO_SELECT = KEY_TO_SELECT
* KEY_VISIBLE = KEY_VISIBLE
* ON_SELECT = ON_SELECT
* READ_ONLY = READ_ONLY
* STATE = E_STATE-NORMAL
TEXT = 'Test'
* TEXT_DIRECTION = E_TEXT_DIRECTION-INHERIT
* TOOLTIP = TOOLTIP
* VIEW = VIEW
* VISIBLE = E_VISIBLE-VISIBLE
lr_column2->set_table_cell_editor( the_table_cell_editor = lr_radio ).
Thanks,
Suman -
Hi ,
I have added 2 buttons in one table column using layout. if the bindproperty for that column is "Approved" than that buttons set to false, if the bindproperty is "Pending" than buttons get visible. i am trying this code, but it is not going to that if condition and switch case
oTable.addColumn(new sap.ui.table.Column({
label: new sap.ui.commons.Label({text: "Status"}),
template: new sap.ui.layout.HorizontalLayout({id:"HL",
content : [
new sap.ui.commons.Button({id:"btn1",
text: "Assign status"
new sap.ui.commons.Label({}),
new sap.ui.commons.Button({id:"btn2",
text : "Deny"
).bindProperty("visible","Status",function(oEvent){
var bt = sap.ui.getCore().byId("HL");
// var bt1 = sap.ui.getCore().byId("btn2");
// var bt2 = sap.ui.getCore().byId("btn3");
if (oEvent === "Approved"){
bt.setVisible(false);
i am trying to use Switch case also
/* switch(str)
case 'Approved' :
return bt.setVisible(false), bt1.setVisible(false),bt2.setVisible(false);
case 'SE' :
return bt.setVisible(true), bt1.setVisible(true),bt2.setVisible(true);
Can anybody help me in this
Thanks & Regards,
Jayasree.Hi Robin,
We tried that is useful, now we are doing same for Table col template. In template I am having one button and one textview( i used horizantal layout for this).
oTable.addColumn(new sap.ui.table.Column({
label: new sap.ui.commons.Label({text: "Status"}),
template: new sap.ui.layout.HorizontalLayout({id:"HL",
content : [
new sap.ui.commons.Button({id:"btn1",
text: "true"
new sap.ui.commons.Label(),
new sap.ui.commons.TextView({id:"TV1",
text : "True"
new sap.ui.commons.Button({id:"btn2",
text: "false"
new sap.ui.commons.Label(),
new sap.ui.commons.TextView({id:"TV2",
text : "false"
).bindProperty("text","Status",function(oEvent){
var bt1 = sap.ui.getCore().byId("btn1");
var tv1= sap.ui.getCore().byId("TV1");
var bt2 = sap.ui.getCore().byId("btn2");
var tv2= sap.ui.getCore().byId("TV2");
if (oEvent === "1"){ //true
bt.setEnabled(true);
tv1.setEnabled(true);
else (oEvent === "0"){ //false
bt.setEnabled(false);
tv1.setEnabled(false);
i am trying to use Switch case also
/* switch(str)
case '1' :
return bt.setEnabled(true),tv1.setEnabled(true);
case '0':
return bt.setEnabled(false),tv1.setEnabled(false);
but no use it is not able to bind text and button property at a time.
Maybe you are looking for
-
How to get rid of title bar of a quicktime window?
The main problem: I want to display the title info etc about each track as they play in iTunes. How can I do that on an otherwise black screen (desktop) (I don't want to use the visualizer with its psychedelic patterns). Background: I want to play mu
-
CANNOT Install Creative Suite 5.5 Design Standard on MacBook Pro (Retina display)
Exit Code: 7 -------------------------------------- Summary -------------------------------------- - 1 fatal error(s), 3 error(s), 27 warning(s) WARNING: DS013: Payload {AA0D312F-1570-4E7E-9A7D-E191E0090FEC} AdobeHelp 4.0.0.0 is already installed and
-
ATP check avoid block other storage location
Hi Gurus, Let's say there is 4000 EA available in storage location 1000, but in the order we enter 5000EA. I don't want to addition 1000 EA block other storage location like 1603/1608, only block own location 1000 waiting for replenishment. We define
-
is there a way to get photos off of a thumb drive onto something that can be uploaded to the ipad. I am doing away with my windows systems and using the ipad exclusively?
-
Can I exclude folder(s) in finder?
Hi, I just made the move to Mac after over 20 years on a PC so I'm pretty green. Here is my problem. I installed Printmaster 2.0 on my Mac and this program has over 80,000 images. Now if I look for an image or try to attach a file in an email program