How to change the cell in a data grid
Hai I pasted the mxml below. I need how to change a cell in a datagrid control. 1. run the mxml, enter values in the text box and click Add. 2. then click on the button, AND now you can see the values displayed in the grid. 3. can change the second combobox and enter values in the text box and click Add 4. now, I need to change the values for a cell in the datagrid control. In the code below you can see the column value,
I need to edit oly this cell in a particular row.
Can someone help me.
Thanks in advance
<? XML version = "1.0" encoding = "utf-8"? >
< mx:Application
' xmlns:mx = ' http://www.Adobe.com/2006/MXML "layout =" " absolute "
>
< mx:Script >
<! [CDATA]
ActionScript file import mx.rpc.events.FaultEvent; import mx.controls.Alert; import mx.managers.CursorManager; import mx.collections.ArrayCollection; [ Bindable ]
public var adhoc:ArrayCollection = new
ArrayCollection(); [
Bindable
]
public var serverString = ""
;
private function initImage(event:MouseEvent):Sub
{
If
(adhoc.length > 0) { CursorManager.setBusyCursor (); } }
private function onChange():Sub
{
If
(comboBox.selectedIndex == 0) { }
on the other
{ } }
private function onChange1():Sub
{
if (combo2.selectedItem == 'DATEDEPLOYED' | combo2.selectedItem == 'DATEUPLOADED' )
){ datepick.visible =
true txt.visible =
fake }
on the other
{ txt.visible =
true datepick.visible =
fake } }
private function add():Sub
{
var
Txt.text = str:string;
if (str.length == 0 & & txt.visible == true )
){ Alert.Show)
'Value cannot be empty.
);
return
; }
if (combo2.selectedItem! = 'DATEDEPLOYED' : combo2.selectedItem! = 'DATEUPLOADED' )
){
if (txt.visible == true )
){
var temp: Object = new
Object(); Temp.fname = combo2.selectedItem; Temp.Opera = combo1.selectedItem; Temp.Val =
"'" + txt. Text+ "'"
; adhoc.addItem (temp); txt. Text =
""
; } }
var
str1:string = datepick.text;
If
(comboBox.selectedIndex == 1) {
if (combo2.selectedItem == 'DATEDEPLOYED' | combo2.selectedItem == 'DATEUPLOADED' )
){
if (str1.length == 0 & & datepick.visible == true )
){ Alert.Show)
"The date cannot be empty.
); }
on the other
{
var temp: Object = new
Object(); Temp.fname = combo2.selectedItem; Temp.Opera = combo1.selectedItem; Temp.Val = datepick.text; adhoc.addItem (temp); datepick. Text =
""
; } } } AddButton.Enabled =
fake
; addopenbracket. Enabled =
fake
; combo2. Enabled =
fake
; Combo1.enabled =
fake
; }
private function querydelete():Sub
{
If
(AdHoc.selectedIndex > 0) {
If
(AdHoc.selectedIndex == (adhoc.length - 1)) { ad-hoc [AdHoc.selectedIndex - 1] = .cond
""
; addopenbracket. Enabled =
fake
; addclosebracket. Enabled =
fake
; AddButton.Enabled =
fake
; combo2. Enabled =
fake
; Combo1.enabled =
fake
; } combo2. SelectedItem = ad hoc [adhoc.length - 2] .fname Combo1.SelectedItem = ad hoc .opera [adhoc.length - 2] adhoc.removeItemAt (AdHoc.selectedIndex);
adhocdetailgridcompilance.dataProvider = null;
adhocdetailgrid.dataProvider = null; }
else if
(adhoc.length == 1) { adhoc.removeItemAt (AdHoc.selectedIndex);
adhocdetailgridcompilance.dataProvider = null;
adhocdetailgrid.dataProvider = null; addopenbracket. Enabled =
true
; addclosebracket. Enabled =
true
; AddButton.Enabled =
true
; combo2. Enabled =
true
; Combo1.enabled =
true
; }
on the other
{ Alert.Show)
"Select the lines to remove."
); } }
private function andSubmit():Sub
{
for every()var obj:Object in
Adhoc) {}
If
(obj.fname == combo2.selectedItem & & obj.opera == combo1.selectedItem) {
if (combo2.selectedItem! = 'DATEDEPLOYED' : combo2.selectedItem! = 'DATEUPLOADED' )
){
if (txt.visible == true )
){
trace ()"2 is equal to '
);
var temp: Object = new
Object(); obj.cond = and.label adhoc.setItemAt (obj, adhoc.getItemIndex (obj)); }
on the other
{
trace (obj.fname + « : »
(+ combo2.selectedItem);
trace (obj.opera + « : »
(+ combo1.selectedItem);
trace (obj.val + ":" + "'"+txt.text+"'"
); } }
}
else if
(obj.fname is addclosebracket.label) {
if (combo2.selectedItem! = 'DATEDEPLOYED' : combo2.selectedItem! = 'DATEUPLOADED' )
){
if (txt.visible == true )
){
trace ()"2 is equal to '
);
var temp: Object = new
Object(); obj.cond = and.label adhoc.setItemAt (obj, adhoc.getItemIndex (obj)); }
on the other
{
trace (obj.fname + « : »
(+ combo2.selectedItem);
trace (obj.opera + « : »
(+ combo1.selectedItem);
trace (obj.val + ":" + "'"+txt.text+"'"
); } } }
If
(obj.fname == combo2.selectedItem & & obj.opera == combo1.selectedItem) {
if (combo2.selectedItem == 'DATEDEPLOYED' | combo2.selectedItem == 'DATEUPLOADED' )
){
if (datepick.visible == true )
){
trace ()"2 is equal to '
);
var temp: Object = new
Object(); obj.cond = and.label adhoc.setItemAt (obj, adhoc.getItemIndex (obj)); }
on the other
{
trace (obj.fname + « : »
(+ combo2.selectedItem);
trace (obj.opera + ': ' )
(+ combo1.selectedItem);
trace (obj.val + ":"
(+ datepick.text); } } }
else if
(obj.fname is addclosebracket.label) {
if (combo2.selectedItem == 'DATEDEPLOYED' | combo2.selectedItem == 'DATEUPLOADED' )
){
if (txt.visible == true )
){
trace ()"2 is equal to '
);
var temp: Object = new
Object(); obj.cond = and.label adhoc.setItemAt (obj, adhoc.getItemIndex (obj)); }
on the other
{
trace (obj.fname + « : »
(+ combo2.selectedItem);
trace (obj.opera + ': ' )
(+ combo1.selectedItem);
trace (obj.val + ":"
(+ datepick.text); } } } } AddButton.Enabled =
true
; addopenbracket. Enabled =
true
; combo2. Enabled =
true
; Combo1.enabled =
true
; }
private function orSubmit():Sub
{
for every()var obj:Object in
Adhoc) {}
If
(obj.fname == combo2.selectedItem & & obj.opera == combo1.selectedItem) {
if (combo2.selectedItem! = 'DATEDEPLOYED' : combo2.selectedItem! = 'DATEUPLOADED' )
){
if (txt.visible == true )
){
trace ()"2 is equal to '
);
var temp: Object = new
Object(); obj.cond = or.label adhoc.setItemAt (obj, adhoc.getItemIndex (obj)); }
on the other
{
trace (obj.fname + « : »
(+ combo2.selectedItem);
trace (obj.opera + « : »
(+ combo1.selectedItem);
trace (obj.val + ":" + "'"+txt.text+"'"
); } } }
else if
(obj.fname is addclosebracket.label) {
if (combo2.selectedItem! = 'DATEDEPLOYED' : combo2.selectedItem! = 'DATEUPLOADED' )
){
if (txt.visible == true )
){
trace ()"2 is equal to '
);
var temp: Object = new
Object(); obj.cond = or.label adhoc.setItemAt (obj, adhoc.getItemIndex (obj)); }
on the other
{
trace (obj.fname + « : »
(+ combo2.selectedItem);
trace (obj.opera + « : »
(+ combo1.selectedItem);
trace (obj.val + ":" + "'"+txt.text+"'"
); } } }
If
(obj.fname == combo2.selectedItem & & obj.opera == combo1.selectedItem) {
if (combo2.selectedItem == 'DATEDEPLOYED' | combo2.selectedItem == 'DATEUPLOADED' )
){
if (datepick.visible == true )
){
trace ()"2 is equal to '
);
var temp: Object = new
Object(); obj.cond = or.label adhoc.setItemAt (obj, adhoc.getItemIndex (obj)); }
on the other
{
trace (obj.fname + « : »
(+ combo2.selectedItem);
trace (obj.opera + ': ' )
(+ combo1.selectedItem);
trace (obj.val + ":"
(+ datepick.text); } } }
else if
(obj.fname is addclosebracket.label) {
if (combo2.selectedItem == 'DATEDEPLOYED' | combo2.selectedItem == 'DATEUPLOADED' )
){
if (txt.visible == true )
){
trace ()"2 is equal to '
);
var temp: Object = new
Object(); obj.cond = or.label adhoc.setItemAt (obj, adhoc.getItemIndex (obj)); }
on the other
{
trace (obj.fname + « : »
(+ combo2.selectedItem);
trace (obj.opera + ': ' )
(+ combo1.selectedItem);
trace (obj.val + ":"
(+ datepick.text); } } } } AddButton.Enabled =
true
; addopenbracket. Enabled =
true
; combo2. Enabled =
true
; Combo1.enabled =
true
; }
public function addOpenBracket():Sub
{
var temp: Object = new
Object(); Temp.fname = addopenbracket.label adhoc.addItem (temp); addopenbracket. Enabled =
fake addclosebracket. Enabled =
true
if (adhoc.length > 1 & & addopenbracket.enabled == false )
){ AddButton.Enabled =
true } }
public function addCloseBracket():Sub
{
var temp: Object = new
Object();
If
(adhoc.length > 1) { Temp.fname = addclosebracket.label adhoc.addItem (temp); addopenbracket. Enabled =
true addclosebracket. Enabled =
fake
}
if (adhoc.length > 1 & & addclosebracket.enabled == false )
){ AddButton.Enabled =
true } }
private function dateChange(date:Date):Sub
{
if (date == null )
){ }
on the other
{ txt. Text = date.getDate () +.
'/' + m:System.NET.SocketAddress.ToString () (date.getMonth () + 1) + '/'
+ date.getFullYear () m:System.NET.SocketAddress.ToString (); } }
public function saveadhoc(event:Event):Sub
{
var AdhocRows:String = ""
;
var
i: int;
var
selectedType = comboBox.selectedItem;
If
(adhoc.length == 0) { Alert.Show)
"Enter the query."
); }
on the other
{
for
(i = 0; i < adhoc.length; i ++) {
if (ad-hoc .fname [i]! = null )
){ AdhocRows = AdhocRows + ad hoc [i] .fname +.
" "
; }
if (ad-hoc .opera [i]! = null )
){ AdhocRows = AdhocRows + ad hoc [i] .opera +.
" "
; }
if (.val adhoc [i]! = null )
){ AdhocRows = AdhocRows + ad hoc [i] .val +.
" "
; }
if (ad-hoc .cond [i]! = null )
){ AdhocRows = AdhocRows + ad hoc [i] .cond +.
" "
; } }
var Parameters: Object = {adhocquery:AdhocRows, FlexActionType:'ADHOCQUERYSUBMIT' }
adhocType:selectedType};
adhocClick.send (parameters); } }
private function retrieve():Sub
{ datepick.visible =
fake txt.visible =
true } []] > < / mx:Script >
< mx:Array id=" model "
>
< mx:String > TYPE < / mx:String >
< mx:String > AUDITRESULT
< / mx:String >
< mx:String > CATEGORY
< / mx:String >
< mx:String > CHILDRULE < / mx:String >
< mx:String > PARENTRULE
< / mx:String >
< mx:String > AUDITGROUP
< / mx:String >
< mx:String > LOCATION
< / mx:String >
< mx:String > Name of the SELLER
< / mx:String >
< mx:String > DEVICECATEGORY
< / mx:String >
< / mx:Array >
< mx:Array id=" inventories "
>
< mx:String > Name of the SELLER
< / mx:String >
< mx:String > DEVICETYPE
< / mx:String >
< mx:String > SERIES
< / mx:String >
< mx:String > MODEL
< / mx:String >
< mx:String > SUP/CPU
< / mx:String >
< mx:String > CODEVERSION
< / mx:String >
< mx:String > IMAGENAME
< / mx:String >
< mx:String > DATEDEPLOYED
< / mx:String >
< mx:String > LOCATIONNAME
< / mx:String >
< mx:String > Address1
< / mx:String >
< mx:String > Address2
< / mx:String >
< mx:String > CITY
< / mx:String >
< mx:String > STATE
< / mx:String >
< mx:String > COUNTRY
< / mx:String >
< mx:String > FLOOR < / mx:String >
< mx:String > CABINET
< / mx:String >
< mx:String > CATEGORYNAME
< / mx:String >
< mx:String > DEPARTMENT
< / mx:String >
< mx:String > CONTACTNAME
< / mx:String >
< mx:String > CONTACTNUMBER
< / mx:String >
< mx:String > VERSION
< / mx:String >
< mx:String > FILE name
< / mx:String >
< mx:String > DATEUPLOADED
< / mx:String >
< / mx:Array >
< mx:Accordion x=" 13 " y=" 55 "width = » 230 "height = » 492 "
> < mx:Form
" label = ' AdHoc Query Analyzer "width =" " 100% " 'creationComplete ="retrieve ()' height = ' 100% "color =" " #F2F8F9 "backgroundColor =" " #020202 "
>
< mx:Canvas " label = ' Query "width =" " 204 "height =" 440 "backgroundColor =" #020202 "" "
>
< mx:ComboBox x=" 66 "y =" 287 "width =" "id =" comboBox 134 "dataProvider =" [COMPLIANCE, INVENTORY] color "change ="onChange ()"=" #050505 " " > "
< / mx:ComboBox >
< mx:ComboBox x=" 5 "y =" 344 "width =" "id =" Combo1 109,25 "dataProvider =" [=!, "" =, >, > =, & lt; & lt; = AS] "color =" #010101 " "
> < / mx:ComboBox >
< mx:TextInput x=" 119,25 " y=" 344 "width = » 77,75 " id=" txt "color = » #050505 "
/ >
< mx:Button x=" 3 "y =" 401 "label =" Add "width =" "click ="Add()"id =" AddButton 59 "color =" #FFFEFE "fillAlphas =" [0.6, 0.4, 0.75, 0.65] "fillColors =" [#FFFFFF, #CCCCCC, #EEEEEE #EEEEEE] "borderColor =" #B7BABC "themeColor =" #009DFF "" "" "" "
/ >
< mx:Button x=" 66 "y =" 401 "label =" Remove "width =" 63,25 color "click ="querydelete ()"=" #FFFEFE "fillAlphas =" [0.6, 0.4, 0.75, 0.65] "fillColors =" [#FFFFFF, #CCCCCC, #EEEEEE #EEEEEE] "borderColor =" #B7BABC "themeColor =" #009DFF "" "" ""
/ >
< mx:Button x=" 2 "y =" 373 "label =" ()"id ="addopenbracket"click ="addOpenBracket ()"width ="45"color ="#FFFEFE"fillAlphas ="[0.6, 0.4, 0.75, 0.65]"fillColors ="[#FFFFFF, #CCCCCC, #EEEEEE #EEEEEE]"borderColor ="#B7BABC"themeColor ="#009DFF"" "" ""
/ >
< mx:Button x=" 51 "y =" 373 "label =" ( )"id ="addclosebracket"click ="addCloseBracket ()"width ="45"color ="#FFFEFE"fillAlphas ="[0.6, 0.4, 0.75, 0.65]"fillColors ="[#FFFFFF, #CCCCCC, #EEEEEE #EEEEEE]"borderColor ="#B7BABC"themeColor ="#009DFF"" ""
/ >
< mx:Button x=" 134.25 "y =" 401 "label =" submit color "click ="saveadhoc (event); initImage (event)"=" #FFFEFE "fillAlphas =" [1.0, 0.69, 0.75, 0.65] "fillColors =" [#77B97A, #77B97A, #EEEEEE, #EEEEEE] "borderColor =" #77B97A "themeColor =" #009DFF "" "" "
/ >
< mx:ComboBox x=" 66 "y =" 317 "width =" "id =" combo2 "change ="onChange1 ()"dataProvider =" {comp} 134 "color =" #010101 "" "
>
< / mx:ComboBox >
< mx:DateField x=" 122.25 "y =" 344 "width =" 74.75 "initialize =" dateChange ((event.target) .selectedDate) "" id =" datepick " color =" #050505 " " "
/ >
< mx:DataGrid x=" 1 "y =" 1 "width =" 203 "height =" "id =" AdHoc 282 "dataProvider =" {adhoc} "allowMultipleSelection =" true "color =" #020202 "" ""
>
< mx:columns >
< mx:DataGridColumn " headerText =" Name "dataField =" " fname " id=" FNAM "
/ >
< mx:DataGridColumn " headerText =" Operator "dataField =" " Opera " id=" OPE "
/ >
< mx:DataGridColumn " headerText =" Value "dataField =" " Val " id=" earned "
/ >
< mx:DataGridColumn " headerText =" Condition "dataField =" " cond " id=" condt "
/ >
< / mx:columns >
< / mx:DataGrid >
< mx:Button x=" 99 "y =" 373 "label =" AND "width =" 52 "click ="andSubmit ()"id =" and "color =" #FFFEFE "fillAlphas =" [0.6, 0.4, 0.75, 0.65] "fillColors =" [#FFFFFF, #CCCCCC, #EEEEEE #EEEEEE] "borderColor =" #B7BABC "themeColor =" #009DFF "" "" "" "
/ >
< mx:Button x=" 154 "y =" 373 "label =" OR "width =" 49 "click ="orSubmit ()"id =" or "color =" #FFFEFE "fillAlphas =" [0.6, 0.4, 0.75, 0.65] "fillColors =" [#FFFFFF, #CCCCCC, #EEEEEE #EEEEEE] "borderColor =" #B7BABC "themeColor =" #009DFF "" "" "" "
/ >
< mx:Label x=" 7 "y =" 291 "text =" TYPE "width =" 59 "fontWeight =" "BOLD" "" ""
/ >
< mx:Label x=" 5 "y =" 319 "text =" DISPLAY "width =" 59 "fontWeight =" "BOLD" "" ""
/ >
< / mx:Canvas >
< / mx:Form >
< / mx:Accordion >
< / mx:Application >
You can enable editing in a DG to the entire DG or only some columns
http://blog.flexexamples.com/2008/05/11/creating-an-editable-DataGrid-control-in-Flex/
If you want to enable editing of a very specific cell then you use the itemEditBegin event to prevent modification of a cell who meet your criteria
http://livedocs.Adobe.com/Flex/3/HTML/Help.HTML?content=celleditor_7.html
Tags: Flex
Similar Questions
-
How to change the vmdk in another data store
for my vm four disks are there I want to increase disk capacity but there is no space on the data store
Hello
Solution is that you must change the drive to another data store and increase space.
First findout in spatial data store is avaialble.
Select the virtual machine and migration - migration datastore - Advanced - click the drive on which you want to increase space - browse - choose data store where space is available - finishing
After migration - more space.
-
How to change the cell height in the apex 5, g->; o, j.-i.
Hi all
When I type a g in the inputfiled, I see o and when I type a j in the inputfield, I see that I have.
My settings:
Type: Text fieldWhen I save the data, the g and j are registered oke in the database.
How can I change the height of the cell in the apex 5?
Thanx.
Best regards
Vinay
Why would you use javascript?
@OP go to the definition of your page > css inline and copy this
input[type="text"] { height: 20px !important; }
Adjust the height of your taste.
There is a chance that you have tried to adjust the font size. This could be the reason why you can not see the parts of letters.
-
How to change the Service Push account data?
The integration of push for our application service was recorded by one of our previous employees. If his email address has been used in the process.
I have now tried to get access to the portal of the administration of the push service, but was not able to connect with his credentials, and I don't see an option to reset the password.
I have already emailed [email protected] about it twice and got no response.
I would like to have the registration transferred to my account. How is that possible?
Hello
I'll have someone to look for it for you.
Thank you
Naveen M
-
Oracle is how to change the functionality of a data entry form.
Hi guys,.
I'd like know if theres a way to retrieve and enter records in a form that is based on a single table, with this kind of functionality:
-Enter the primary key (enter or tab), if the record exists then poster for edit and register.
-If this is not the case exists, and then accept data in the fields and then save.
This is because recently a customer migrate a small application of advanced forms of oracle revelation, and the people who use this registration form complains because they say that you need to type more keys to retrieve information.
I know what it means to ignore the native functions to a form of oracle, but it's a question that I was invited.
I apologize for my English.
JorgeGood afternoon Jorge.
Yes, you can do what you described. You can use a trigger when-validate-item to search for the key value the user has entered and then, if found, complete the rest of the screen. If the value is NOT found, you can just go to the next input value to allow the user to continue to enter the folder.
Good luck
Don.AWARDS: Don't forget to mark correct or useful posts on the forum, not only for my answers, but for everyone! :)
-
How to change the time stamp of data hh:mm:ss:ms to hh?
Replace your continuous sampling DAQ Assistant. In this way, he'll enjoy permanently. With the samples finished, it reads just when you tell him.
-
How to change the input descriptor of return on investment?
I am a beginner of Labview Vision users. I need to convert a RGB image into binary image and superimpose a few lines on the binary image at random and then measure the length of the ordinate at the origin of the image. I came across the problem of changing of return on investment by incorporating a few random coordinates (by this contact information, I can generate random lines.). But I could not find how to change the coordinates or import data from an excel file coordination.
Any help is appreciated.
Jian
If you have the package of Vision, you can use the line to convert to the KING function and the power cable in the KING of the image property. If you do not, you will need to build your own KING. Given the coordinates of line (X 1, Y1) and (X 2, Y2) the entries in the return on investment are the following.
Global rectangle - table of 4 elements with values [X 1, Y1, X 2 + 1, Y2 + 1]
Countours - single element (table 4 external elements, line [X 1, Y1, X 2, Y2])
-
How to change the format of a video that came off a cell phone. It was released the phone in 3GP format, it will play anything on my computer. It is a telecom xt
How to change the format of a video that came off a cell phone. It was released the phone in 3GP format, it will play anything on my computer. It is a telecom xt
=================================
Media Player Classic should read the .3gp files...Media PLayer Classic
http://download.CNET.com/Media-Player-Classic/3000-2139_4-10518778.htmlFor conversion... the following freeware can be helpful to try:
(FWIW... it's always a good idea to create a system)
Restore point before installing software or updates)Format Factory
http://www.pcfreetime.com/
(FWIW... you can uncheck
all the boxes on the last screen)After downloading and installing Format Factory...
Open the program and choose an output folder...
(this is where you will find your files when they are
converted)Drag and drop your video clips on the
main screen...Select "At?" / OK...
(the? is the format of your choice)Click on... Beginning... in the toolbar...
That should do it... John Inzer - MS - MVP - Digital Media Experience - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.
-
Camcorder car bought in Asia, how to change the date/time United States?
Hi, I bought the unit in Hong Kong and brought it to the United States. After I've set the date and time, each time it starts, it is synhronize to the time and date in Asia, which is 15 hours ahead of time. I tried to find it in the manual on how to change the region, but could not. Is there a way I can do? Pleaes help. Very much appreciated.
I found it under Satilliate synchronization, I had to press OK again to UTC is displayed. Thank you very much for the help.
-
Does anyone know how to change the date of the capture of several images with LR CC?
Does anyone know how to change the date of the capture of several images in LR CC
Hi Jguy,
Please see this thread time changing capture several Images on
Let us know if this helps
Kind regards
Assani
-
How to change the text design AS3 using the class Date
Hi I tried to create a 24-hour countdown on 24 who will make a loop and play back counting it self down to 00:00:00:00
Thanks to Andrei1 for providing me with this code to create the next animtion:
var result: String = "";
var date: Date = new Date (null, null, null, 0, 0, 0, 24);var timeDisplay:TextField = new TextField();
timeDisplay.autoSize = TextFieldAutoSize.LEFT;
timeDisplay.multiline = timeDisplay.wordWrap = false;
timeDisplay.border = true;
timeDisplay.x = timeDisplay.y = 20;
timeDisplay.text = "00:00:00 ';addChild (timeDisplay);
var: timer = new Timer (250);
timer.addEventListener (TimerEvent.TIMER, count);
Timer.Start ();function countDown(e:TimerEvent):void {}
Date = new Date (date.setTime (date.getTime () - timer.delay));
result = date.toTimeString () replace (/ \s+GMT\-\d + /, "");
timeDisplay.text = result;
}The end result, I'm looking for is to display this countdown clock in a clear gray arial font as shown in the picture below link:
http://img801.imageshack.us/img801/3604/picture1ms.PNG
Right now the code I received leaves me with a box around the type and a GMT (+ 000):
http://img534.imageshack.us/img534/4264/picture2ot.PNG
I was wandering if any body knows how to change the design of something in the photo above simular.
Thank you for your help in advance.
Tom
Snippets of code is one thing, but nothing is gained back together solutions to people without explanation (but maybe a smile to not have to struggle with it). Learning is not easy and it is better that it isn't... it involves the effort, stadiums, an increase in capacity to win. You presented an entirely different approach to a solution that involves techniques beyond a beginning level.
Don't you think that tom understands what he has in his hands? It can develop its own regular expressions or manipulate a Date object to what you gave to him? More importantly, since he never solved the intitial design of yesterdays issues poster, which has involved basic concepts much more, don't you think he could solve this design now? Or he missed on some basic things that must precede the techniques that you have provided learning?
-
How to change the date format of the web site?
Hi all
We use Jdeveloper 11 g. We have developed a web site and it s is almost done. We use components linked to this day (most of them date. MinValue) very often.
To change the format of the date of the entire site, but we could not see a way to do this. Even if the database date format is DD. Mr. Composant date. MinValue RR contains the date in MM-DD format. RR.
Do you know how to change the format of date overall of a website?Hello
I hope will help the following post: http://soadev.blogspot.com/2010/03/change-global-date-format-of-your.html
Kind regards
Pino
-
I have a slide show, and the time is 2 seconds. I wish I had a slide or fade right from one slide to another. How do I do that? I am able to change the pause time, but may not know how to change the transition. Here is the part of the code:
- a.fn.nivoSlider.defaults = {effect: 'fade', animSpeed:50, pauseTime:2e3, startSlide:0, directionNav:true, directionNavHide:true, controlNav:true, is controlNavThumbs:fal, controlNavThumbsFromRel:false, controlNavThumbsSearch: ".jpg", controlNavThumbsReplace: "_t humb.jpg", keyboardNav:true, pauseOnHover:true, manualAdvance:false, captionOpacity:.8, prevTex t:"Prev",nextText:"Next",randomStart:false,beforeChange:function() {}, event: function () {}, {slideshowEnd:function(){},lastSlide:function(){},afterLoad:function()}} "}
I can change the pause time (value 2 seconds now), but I tried to change the animSpeed for: 1 and: 100, but no change. I tried to change the effect: "default", "fade", and
"sliceDownRight" and others in the code below, which is beyond the performed: 'fade' code I'm working with.
if(d.Effect=="Random") {var i = new Array ("sliceDownRight", "sliceDownLeft", "sliceUpRight", "sliceUpLeft", "sliceUpDown", "sliceUp DownLeft", "fold", "fade", "boxRandom", "boxRain", "boxRainReverse", "boxRainGrow", "boxRainGrowR everse") }
Can anyone help?
Thank you
Most widgets have a constructor that allows you to apply changes to the functioning of the widget.
Here is the constructor for the Nivo Slider settings
$('#slider').nivoSlider ({}
effect: 'random', / / Specify defines as: "bend, bland, sliceDown.
slices: 15, / / for the animations of the slice
boxCols: 8, / / for the animations of the box
boxRows: 4, / / for the animations of the box
animSpeed: 500, / / speed of slide transition
pauseTime: 3000, / / how long each slide will show
startSlide: 0, / / Set from slides (index 0)
directionNav: true, / / next & previous navigation
controlNav: true, / / 1,2,3... Navigation
controlNavThumbs: false, / / use tiles for a control Nav
pauseOnHover: true, / / Stop animation while hovering
manualAdvance: false, / / hand strength of transitions
prevText: 'Prev', / / Prev directionNav text
nextText: 'Next', / / Next directionNav text
randomStart: false, / / Start on a slide at random
Beforechange: function() {}, / / triggers before a transition between slides
Event: function() {}, / / triggers a transition between slides
slideshowEnd: function() {}, / / triggers after all slides should have been disclosed
lastSlide: function() {}, / / when the last slide is indicated
postcharge: function() {} / / triggers when the cursor is loaded
});
The effect parameter can be one of the following:
sliceDown
sliceDownLeft
sliceUp
sliceUpLeft
sliceUpDown
sliceUpDownLeft
fold
fade
random
slideInRight
slideInLeft
boxRandom
boxRain
boxRainReverse
boxRainGrow
boxRainGrowReverse
-
How to change the DML processes in Assistant APEX generated the data entry form
I created a standard form of the APEX on a table using the wizard of the APEX. Now, I added a new element to the page. How to change the DML insert statement to take care of this new item? any ideas are appreciated.
Thank you
SuryaFor the new item, just keep the type of Source as the "column of the database" and give the name of the column (the column for a new item name) under the "Source value or expression.
See you soon,.
Hari -
How to change the upper-left corner of the multicolumn listbox?
Can I change the properties of the cell (-1, -1), but I don't know how to change the text.
Is it too simple or impossible?
Kind regards
Ljubo.
In Excel, you cannot change the headers of columns (A, B, c...) and headers of lines (1, 2, 3,...).
I have a 2D data table Y a 1 d of data table X. data of X are the same for all the columns of Y. The first idea was to use X values as row headings to give him special attention. There should be a header above the data of X (name, quantity, unit,...). See the example below.
The solution is very simple: I created a label and put it on the upper left corner of the listbox.
Good day
Ljubo.
Maybe you are looking for
-
How much is this going to cost me for updates?
I would like to know how much I will charge for you to make updates?
-
After the upgrade to Firefox 4.0, I returned to Firefox 3.6 because plug-ins, such as Media Player, would not work just with 4.0. They now work with 4.0.1?
-
I want to change my email on the e-mail application.
I just changed my email related to the mail app on my mac, and I want to set a new default value. He still has my old email synced on it, but since I deleted it, I don't want to here more. How can I get rid of him? When I click on the mail app, on th
-
What happened to the audio from .mov files in Windows Live Movie Maker?
I'm running on Windows Vista Edition family 64-bit. Recently, I downloaded Windows Live Movie Maker and have been playing with it. Can I import my camera Kodak .mov files. However, when I saw or save the movie, there is no audio or the audio has b
-
Hello I am facing a problem in my site to site VPN configuration, router management site gets the address public IP of the DHCP server as I have built a dynamic crypto map on the router HQ First phase ISAKMP is operational running, I am trying to pin