About updating the data table's column binding to the database..
i have used
com.sun.jsfcl.data.DataCache.Row row =
dataTable1Model.getDataCache().get(dataTable1.getRowIndex());
row.setDeleted(true);
dataTable1Model.commit();
dataTable1Model.execute();to delete the selected row in datatable,
now i give the colum as inpu text. so if i click the update button in thr data table, i want to update the database by using data table, is it possible?
i am writing code like
rowset.absolute(datatable.getRowIndex() + 1);
rowsert.updateRow();but i think this is really stupid...
best regards
koji
wow...
thats my mistake...sorry
i know how to fix it...
koji
Similar Messages
-
Spry select list code to wire it to html data table SET column?
I am making a page based on Figure 15-14, Pg 878, in David Power's book, "Dw CS4 with CSS, Ajax and PHP. I have two separate html data tables hidden in the page, one for the specialties drop down select list and the other for the teachers master/detail regions. These are populated with php and working well. The spry select list and master/detail regions are working great except for one issue. The column in my html data table that is being filtered ("Specialty" in my code = 'Category' in the book's example code) is a SET column (with possible value of 1, 2, 3, 4, and/or 5). Clicking on the drop down menu brings up the records with a single value beautifully. The result for records with multiple values is a spry error "Invalid row number: 0". After four different versionings and methods of messing with this, I still haven't a clue. Please help me with how to rewire the Spry select list code so that it will read the records that have multiple items in that column. I have included the code below.
var data_set_teachers = new Spry.Data.HTMLDataSet(null, "teacher_data");
data_set_teachers.gallery = '1';
function chooseSet(dataSet, row, rowNumber)
if (row["Specialty"] == data_set_teachers.gallery) {
return row;
return null;
data_set_teachers.filter(chooseSet);
function changeSet(set)
data_set_teachers.gallery = set;
data_set_teachers.filter(chooseSet);
data_set_teachers.setCurrentRowNumber(0);
var rows = data_set_teachers.getData();
for (var i = 0; i < rows.length; i++) {
if (rows[i]["Specialty"] == set) {
data_set_teachers.setCurrentRowNumber(i);
break;
var data_set_specialties = new Spry.Data.HTMLDataSet(null, "specialty_data");Well I'll be damned!
What's done in the sample app is, of course, the intuitively obvious choice and is exactly what I started out trying to do the first time round.
But as I mentioned before, when I first tried it (yes: I'm pretty sure I set the "for" attribute on the inlineMessage components), I got the non-unique component id exception for the inlineMessage component(s) after adding the second (but not the first) row to the page.
Anyway, after dragging my inlineMessages to the exact same position as those in the AppModel example, now things work fine (except I think I'd like a line break before the message and to change the row/column styles so the values and messages line up properly...the look is rather ugly in the AppModel example when there are validation messages displayed).
Not sure, but I'm thinking maybe there was an issue with where the inline message markup was placed, my first time through, relative to the data table value bound component and the column header facet?
I was using the application view drag 'n drop feature the first time round and dragged the inlineMessage component to the spot just below the data table value bound component and hence just above the column header facet. In the AppModel example, OTOH, the inline messages are placed just after the column header facet.
Of course, I will now try to duplicate the original exception.
If I can (and it is an issue with placement), I will post back some sort of bug report or RFE. Otherwise, I'll post back declaring what a bone head I've been...;-)
Anyway, thanks for the quick response, v.
Campbell -
Data Load - Data / Table Mapping Columns Not Showing
Hi,
Using the new 4.1 functionality I have created a data load wizard.
Everything seems to have created OK however when i run the wizard and get to the Data / Table Mapping stage (2nd page) the column names lov contains no list of values.
The table i am trying to load in is in another schema but all the grants are there so that schema can view it.
Any idea what I need to do or what I have missed so the columns can be viewed.
Thanks in advance.Hi,
You have to log in as admin and there should be an option to add schemas, once adding it should appear in the lov.
This link should help.
Parsing Schema -
When I upload a cvs file not all the column display in the Data / Table Mapping screen
1. I have created application using Apex Data Loading wizard. There when I am trying to load data from .csv file, but not all the columns display in the "Data / Table Mapping" screen. But if I go through AQL --> Utility --> Data Workshop, there all column display in "Data / Table Mapping" page. I want to get same thing in application I created. How will get all columns display in the screen?
2. Is there any way to select target table dynamically during runtime. So that in appication we can select different target tables with different source file to load data.Your user info says iPad. This is the OS X Numbers forum. Assuming you are using OS X… Be sure the file is named with a .csv suffix.
(I don't have an iPad, so I don't know the iOS answer.) -
How to Load data for extra columns exist in the dest schema....
Hi Experts,
Please help me.
I need to replicate data from SchemaA to SchemaB.
SchemaB has 3 extra columns. Two are varchar2 type and other is Integer type.
I need to replicate the data from SchemaA to SchemaB in the same database.
When ever i inserted the data in SchemaA, The extra columns should be populated with some default data.
And if we did any update on SchemaA then the extra columns on SchemaB should be populated with other Data.
I wrote some DML_HANDLER but it always populating same data.
I dont know ow to handle this type of situation.
my Handler is:
CREATE OR REPLACE PROCEDURE dml_handler(in_any in sys.anydata)
IS
lcr SYS.LCR$_ROW_RECORD;
rc PLS_INTEGER;
object_owner VARCHAR2(30);
BEGIN
rc := in_any.GETOBJECT(lcr);
object_owner := lcr.GET_OBJECT_OWNER();
IF lcr.get_object_owner() = 'SchemaB' THEN
lcr.add_column('new','SHIP_DATE',sys.anydata.convertvarcahr2('N'));
lcr.add_column('new','SHIP_ZONE',sys.anydata.convertvarchar2('N'));
lcr.add_column('new','SHIP_REACH_BY_DATE',sys.anydata.convertnumber(1));
lcr.EXECUTE(TRUE);
END IF;
END;
BEGIN
DBMS_APPLY_ADM.SET_DML_HANDLER
(object_name => 'SchemaB.TAB_TEST',
object_type => 'TABLE',
operation_name => 'INSERT',
error_handler => FALSE,
user_procedure => 'STRMADMIN.DML_HANDLER');
END;
On extra columns in SChemaB
if its a first insert then the default values are (N,N,1).
If we did any update the values should be (Y,Y,2)
Post any script or give me some idea.
Thanks,
Ray
Edited by: user7423698 on Mar 3, 2009 6:12 PMCREATE OR REPLACE PROCEDURE dml_handler (
in_any IN SYS.ANYDATA
IS
lcr sys.lcr$_row_record;
rc PLS_INTEGER;
cmd_type VARCHAR2 (30);
BEGIN
rc := in_any.getobject (lcr);
cmd_type := lcr.get_command_type;
IF cmd_type = 'INSERT'
THEN
lcr.set_values ('new', lcr.get_values ('new', 'N'));
lcr.add_column ('new', 'type', sys.anydata.convertchar ('I'));
lcr.set_values ('old', NULL);
lcr.add_column ('new', 'time', sys.anydata.converttimestamp (systimestamp));
lcr.execute (TRUE);
END IF;
END;
Set the DML handler for INSERT and write a similar one for UPDATE. -
Get called back as the data table is being rendered
Hello:
I have a datatable, like this:
<t:column>
<f:facet name="header">
<t:outputText value="Process" style="font-weight: bold" />
</f:facet>
<t:commandButton id="ProcessButton" styleClass="sbttnHeader"
actionListener="#{ProcessQueueBBean.processAction}"
value="#{ProcessQueueBBean.processButtonNames[dbRow.status]}" >
</t:commandButton>
</t:column>I need to get called when the data table rows are being rendered. The reason I need to get called is that some columns have conditional data depending on the other values in the same row
Any ideas?
Thanks for your helpI don't know i've never tried this in the way you need it but let me know if it works.. in the <column tag render=> I know you can check infor
so have render = "#{row.num+row.othernumber >0}"
that probably will work .. like i said I never tried it in a table column.. Let me know if it works -
I have a key figure in my master data table i want to display the key figur
Hi All,
I have a key figure in my master data table i want to display the keyfigure in my report how can i display it can somebody help me in this scenario
Regards
Kiran KumarHi Kiran,
Assume that Material master data table material has price as an attribute. To get this price as key fig in query, get material number in rows and in columns create new formula with replacement path to get material price as key figure.
Note: Without taking material number into rows, we can't get the price into columns.
Hope this helps u..
Cheers......
Sk babu -
Hi,
I'm doing a internship in a production line.
My job is to recover production data (input data) and test data (output data) using various types of software (excel, BusinessObject sap, etc).
To this day, I have recovered hundreds of production data, and have also organized in excel but I need to analyze and plot them.
I would like to know who can give me an idea of how I could plot as much data and analysis.
Now i trying to use dynamic charts and plot some data but I did not get acceptable answers.
How could I compare, analyze and graph for example:
Five columns of production (input) with five (5) columns tested (data output).
After graphing.
Someone can give me a technique to analyze data? ie I compare column by column?
or some other technique? as a conglomerate could analyze data?
o give you an idea of the contect, now I perform an internship in a manufacturing turbines.
My job is to analyze the input data (production) and to estimate the possible behavior of the turbines in the tests.
As I said, use dynamic tables in excel, but i have not idea why the dynamic tables doesn't take all the data from the source table.
I appreciate your advice
ThanksYou can declare as PT source whole Columns [$A:$E], without rows number.
Then You'll have all actually data.
Oskar Shon, Office System MVP - www.VBATools.pl
if Helpful; Answer when a problem solved -
How to center the data in a column?
Hi,
I want all the data in a column to be centered rather than left-justified.
How can we do this in SDK?
Please see the picture which explains it all.
Thanks
Leon LaiHi Maik,
Thanks a lot for your reply.
I was looking for kind of Excel Center Text.
Too bad it cannot be done in SDK
Thanks for your workaround.
Well, as for the picture idea. I have just made another post on this topic. Hope you will have a look.
Best Regards,
Leon -
How to find the data table sin CRM 4.0
Dear Guru's
I want to know where can i get all the data tables in crm 4.0 for example if i want to know the data table for the Reason in activity Management.with the help of data table only the ABAP people can work.....na
Points willbe given
With Best Regadrs
Sreeram RaghuHi Raghu,
There are many techniques in which you could find the database tables, few of them are given below:
- Place your cursor in the field for ex: reason in activity and press F1
- In F1 screen(performance assistant), Click on Technical Information (fourth button from left), you can find here the database table name.
Another Option:
- Go to transaction SE11
- In Database Table Field type few letters, for example to find all the activity table type * act * and then press F4, all the tables related to activity will be displayed
Wish this was useful to you
regards
Srikantan -
How to find the new tables and columns in a schema
hi..good morning to all...
I have a schema ABC which owns some objects.
Now some days before I have made another schema XYZ which was a replica of ABC schema.
between these days some new tables, new columns in the existing tables(with or without default value), comments on the columns are being added in the new schema i.e XYZ schema.
Now I have to find the extra things which are present in the new schema. I need to find the new tables, new columns in hte existing tables, their default values and descriptions of those.
Can u plss help me how can I find it?
I am guessing that I have to write a SQL query with a minus clause but I am not able to write it and also dont know where should I execute it.
plss help. thanks in advance.And moreover, when I am executing the query to get the desired result, then it is throwing "illegal use of long datatype" error and pointing to the b.data_default area of my query..
select a.table_name, a.column_name, b.data_default, a.comments from all_col_comments a, dba_tab_columns b
where a.TABLE_NAME=b.TABLE_NAME
and a.OWNER=b.OWNER
and a.OWNER=XYZ
minus
select c.table_name, c.column_name, d.data_default, c.comments from all_col_comments c, dba_tab_columns d
where c.TABLE_NAME=d.TABLE_NAME
and c.OWNER=d.OWNER
and c.OWNER='ABC'
order by 1, 2;
plss help... -
The new table and Columns to look for in picking headers, etc
Hi,
What are the new tables and columns to look for mapping the following old ones:
1) Pick_Slip_Number from So_Picking_Headers,
2) Sequence_Number from SO_Picking_lines
3) Line_ID from So_Note_References
Thanks and Regards,
Praveen<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by ravi alladi ([email protected]):
Actually would it be possible to get a list of all changes in Order Management between 11 and 11i? ie what tables added, what have been modified and which ones are obsolete<HR></BLOCKQUOTE>
Ravi
Actually, we are working on that same analysis. If you receive any responses, please forward to myself as well.
Thank you
Sha Green -
Keynote document saved in icloud not updating with data from Numbers? is icloud the problem
keynote document saved in icloud not updating with data from Numbers? is icloud the problem.
If both files are held locally on the computer it looks like there is no problem however if you try and do it though icloud (ie your docs are saved on icloud) you dont get the "source" oprion besides the graph etc. Is this a but or a broken function due to the new implementation of icloud.Hi sebnor31,
This is Visual C# forum, but your question seems not related to Visual C# language itself. It most likely related to the bluetooth message transaction protocal or with the device itself.
I'll move your question to [where is this forum for...] forum where the morderator may direct you to the correct forum.
Thanks for your understanding.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to find the dates table in T.CODE:CRMD_ORDER
Hi ,
Where to find the dates at sales order header level (General tab)as well item level in Transaction code: CRMD_ORDER.
I did not see any internal table for this Dates in the FM CRM_ORDER_READ and i have tried with F1 help but is a ALV grid.
Could any one help me to find the dates table.Hi,
The dates are populated in the table IT_APPOINTMENT of FM CRM_ORDER_READ.
if you want to populate the dates in any business order in crmd_order, then u can put a debugger in FM 'CRM_ORDER_MAINTAIN', open any business order, populate the date at header and item level and press enter.
check the table IT_APPOINMENT table and the corresponding values that need to be populated.
Hope this helps!!!
Prerna -
Hi:
I have a very simple test LS App:
1 Table "Person" with 1 property "Name"
One totally standard Editable Grid
So no complicated calculations that could timed out...
When I hit F5 the screen launches and shows the data, but when I try to create a new Person it waits for about 2 minutes and then the following error appears:
The data could not be saved because the server could not be contacted. Please check your network connection and try saving again. The Operation timed out.
Despite the error the data gets persisted on the database.
I am on VS 2013 Pro Update 4 and SQL Server LocalDB 2012 (v11.0).If you decide to try again I would:
1) Uninstall Visual Studio
2) Uninstall SQL Server (all versions)
3) Re-install SQL Server
4) Re-Install Visual Studio
Unleash the Power - Get the LightSwitch 2013 HTML Client / SharePoint 2013 book
http://LightSwitchHelpWebsite.com
Maybe you are looking for
-
No component usage created in enhanced web dynpro component
Hi experts, I am facing the following problem: I'd like to enhance a web dynpro component in order to add a popup window. The popup is triggered by the process_event method. So far everything works just fine. But the popup needs to know some context
-
How do I get my bookmarks back, I downloaded version 4.0 that said it is compatible with all versions of OSx. Which it is not!!! So now it won't start FireFox, before I do anything else how do I get my bookmarks back?
-
HT1349 The serial number on my new macbook is not recognised
I have just bought a new 13" Macbook Pro from Sydney Duty Free and have tried to register my Applecare Protection. It says my serial number is not recognised. I have called Apple support and they could not help me.
-
Calling t-code f-43 from MIRO (is it SAP Recommended)
Hi can i call f-43 tcode for a PO (ex. 4500000154) from MIRO which is given in MIRO tr.code i.e 4500000154
-
No audiobooks in my music app?
I have recently downloaded two audiobooks from iTunes and can not find them in the music app. I have no 'more' or 'audiobook' options showing in my music. Can anyone help me find them?