Datagrid editable problem

hi
I am having a datagrid in which one particular column is editable.This column fetches decimal values from database.Although i have set the editable property as true I am not able to edit the column .Only if i press backspace I am able to edit it .kindly help me to solve it.
<mx:DataGrid 
width="816" dataProvider="arr" id="g1" editable="
true" height="120" styleName="d1" sortableColumns="
false" x="0" y="28" wordWrap="true" itemEditEnd="itemclick(event);" itemClick="editCell(event)">

Probably your editCell is causing the edit session to end.

Similar Messages

  • Font / text edit problem in photoshop CS6

    Hi there,
    I have a strange text edit problem in Photoshop CS6 running on Mavericks.
    Every time I use the text-tool in PS, write a sentence, mark it and change something like color, font size etc., the marked text vanishes.
    I have to "undo" the last step and the changed text appears again.
    Every time!
    I have a clean installed CS6 with no plugins and no other than system fonts installed.
    Everything on a new Mac Pro with OS X 10.9.5
    Any clues? Thanks.

    Do you have the latest updates for photoshop cs6?
    You can use Help>Updates from within photoshop cs6 to check if there are any available.
    Also, if you go to Help>System Info from within photoshop cs6, you can see the Photoshop Version in the top line.
    You should be on version 13.0.6
    See if turning off Dictation solves the issue.
    Go to System Preferences ---> Dictation and Speech -----> select OFF radio button .

  • Datagrid editable row

    Hi,
    I would like to know if there is a way to make an entire row in a datagrid editable when that row is selected.  Currently when a user selects a cell of the row, only that cell becomes editable.  I would like to have that entire row become editable.  Is there a way of accomplishing this?  Thanks in advance.

    Hi,
    Just gave your code a try and, although I did not implement the ITEM_EDIT_END yet, the editor does not do anything in terms of clicking on a row and "enabling" the textfields for that row.  Below is my code along with yours:
    package
        public class TestBean
            [Bindable] private var _processDefName:String;
            [Bindable] private var _processGroupName:String;       
            [Bindable] private var _processSomeName:String;
            public function get processDefName():String {
                return _processDefName;
            public function set processDefName(value:String):void {
                _processDefName = value;
            public function get processGroupName():String {
                return _processGroupName;
            public function set processGroupName(value:String):void {
                _processGroupName = value;
            public function get processSomeName():String {
                return _processSomeName;
            public function set processSomeName(value:String):void {
                _processSomeName = value;
    package
    import flash.events.FocusEvent;
    import mx.controls.Alert;
    import mx.controls.DataGrid;
    import mx.controls.TextInput;
    import mx.controls.dataGridClasses.DataGridColumn;
    import mx.controls.dataGridClasses.DataGridListData;
    import mx.controls.listClasses.BaseListData;
    import mx.controls.listClasses.IDropInListItemRenderer;
    import mx.controls.listClasses.IListItemRenderer;
    import mx.core.UIComponent;
    import mx.managers.IFocusManagerComponent;
          Two TextInput Editor for DataGrid
    public class DataGridMultiFieldEditor extends UIComponent implements IListItemRenderer, IDropInListItemRenderer, IFocusManagerComponent
         private var dgOwner:DataGrid;
         private var textEditors:Array = []
         public function DataGridMultiFieldEditor()
              super();
         public function get fullValue():String
              dgOwner = owner as DataGrid;
              var colInd:Number = dgOwner.editedItemPosition.columnIndex;
              return TextInput(textEditors[colInd]).text;
         private var _data:Object;
         public function get data():Object
              return _data;
         public function set data(value:Object):void
              _data = value;
              invalidateProperties ();
         private var _listData:BaseListData;
         public function get listData():BaseListData
              return _listData;
         public function set listData(value:BaseListData):void
              _listData = value;
         override public function setFocus():void
         override protected function createChildren():void
              dgOwner = owner as DataGrid;
              super.createChildren ();
            var child:TextInput;
              textEditors = new Array();
            var n:int = dgOwner.columns.length;
            for (var i:int = 0; i < n; i++)
                child = new TextInput();
                textEditors.push(child)
                addChild(child);
         override protected function commitProperties():void
              dgOwner = owner as DataGrid;
              super.commitProperties();
            var n:int = dgOwner.columns.length;
            for (var i:int = 0; i < n; i++)
                  var dgColumn:DataGridColumn = dgOwner.columns[i];
                  var value:String = data[dgColumn.dataField];
                  TextInput(textEditors).text = value;
         override protected function updateDisplayList(w:Number, h:Number):void
              dgOwner = owner as DataGrid;
              super.updateDisplayList(w, h);
            var n:int = dgOwner.columns.length;
            var xx:Number = 0;
            for (var i:int = 0; i < n; i++)
                 TextInput(textEditors).move(xx, 0);
                var ww:Number = dgOwner.columns.width;
                 TextInput(textEditors).setActualSize(ww, h);
                xx += ww;
         private function keyFocusChangeHandler(event:FocusEvent):void
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application
        xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="absolute"
        creationComplete="init();">
        <mx:Script>
            <![CDATA[
                import mx.collections.ArrayCollection;
                [Bindable] private var col:ArrayCollection = new ArrayCollection();
                private function init():void {
                    var tbA:TestBean = new TestBean();
                    tbA.processDefName = "A";
                    tbA.processGroupName = "Group A";
                    tbA.processSomeName = "AAAAAAAA";
                    var tbB:TestBean = new TestBean();
                    tbB.processDefName = "B";
                    tbB.processGroupName = "Group B";
                    tbB.processSomeName = "BBBBBBBB";
                    col.addItem(tbA);
                    col.addItem(tbB);               
            ]]>
        </mx:Script>  
        <mx:VBox>
            <mx:DataGrid editable="true" id="dg" dataProvider="{col}" width="300">
                <mx:columns>
                    <mx:DataGridColumn width="100" editable="true" dataField="processGroupName" headerText="NAME" editorWidthOffset="200" itemEditor="DataGridMultiFieldEditor" editorDataField="fullValue"/>
                    <mx:DataGridColumn width="100" editable="true" dataField="processDefName" headerText="TYPE" editorXOffset="-100" editorWidthOffset="200" itemEditor="DataGridMultiFieldEditor" editorDataField="fullValue" />
                    <mx:DataGridColumn width="100" editable="true" dataField="processSomeName" headerText="MISC" editorXOffset="-200" editorWidthOffset="200" itemEditor="DataGridMultiFieldEditor" editorDataField="fullValue"/>
                </mx:columns>
            </mx:DataGrid>
        </mx:VBox>
    </mx:Application>

  • Launch and edit problem from Dreamweaver to Fireworks

    > This message is in MIME format. Since your mail reader
    does not understand
    this format, some or all of this message may not be legible.
    --B_3266405159_588474
    Content-type: text/plain;
    charset="ISO-8859-1"
    Content-transfer-encoding: 8bit
    Hi
    Not sure if this is a Fireworks or Dreamweaver problem but
    here goes.
    I¹ve created a graphic in Fireworks CS3 on the Mac and
    Exported the HTML and
    related images. I open the HTML file in Dreamweaver CS3, all
    fine so far.
    Then I highlight the table and click the ŒEdit in
    Fireworks¹ button and it
    throws up a warning dialogue saying ŒCannot launch and
    edit. The Fireworks
    table could not be found in the HTML. Please export from
    Fireworks and
    re-import the HTML into Dreamweaver.¹
    What?!!
    I¹ve only just exported it from Fireworks! It¹s
    even got the Fireworks table
    code in the Code section, so what¹s going here?
    Has anyone else had this?
    Gaz
    --B_3266405159_588474
    Content-type: text/html;
    charset="ISO-8859-1"
    Content-transfer-encoding: quoted-printable
    <HTML>
    <HEAD>
    <TITLE>Launch and edit problem from Dreamweaver to
    Fireworks</TITLE>
    </HEAD>
    <BODY>
    <FONT FACE=3D"Verdana, Helvetica, Arial"><SPAN
    STYLE=3D'font-size:12.0px'>Hi<BR=
    >
    Not sure if this is a Fireworks or Dreamweaver problem but
    here goes.<BR>
    I&#8217;ve created a graphic in Fireworks CS3 on the Mac
    and Exported the H=
    TML and related images. I open the HTML file in Dreamweaver
    CS3, all fine so=
    far. Then I highlight the table and click the
    &#8216;Edit in Fireworks&#821=
    7; button and it throws up a warning dialogue saying
    &#8216;Cannot launch an=
    d edit. The Fireworks table could not be found in the HTML.
    Please export fr=
    om Fireworks and re-import the HTML into
    Dreamweaver.&#8217;<BR>
    What?!!<BR>
    I&#8217;ve only just exported it from Fireworks!
    It&#8217;s even got the Fi=
    reworks table code in the Code section, so what&#8217;s
    going here?<BR>
    <BR>
    Has anyone else had this?<BR>
    <BR>
    Gaz</SPAN></FONT>
    </BODY>
    </HTML>
    --B_3266405159_588474--

    > This message is in MIME format. Since your mail reader
    does not understand
    this format, some or all of this message may not be legible.
    --B_3266407908_747577
    Content-type: text/plain;
    charset="ISO-8859-1"
    Content-transfer-encoding: 8bit
    When you export the sliced graphics from Fireworks it places
    them into a
    table. In my instance the code says...
    <!-- fwtable fwsrc="Brands.png" fwpage="Page 1"
    fwbase="Brands.jpg"
    fwstyle="Dreamweaver" fwdocid = "325827661" fwnested="0"
    -->
    So it recognises Fireworks was the the graphics app and jumps
    back to it
    when you want to edit the image. Fireworks then displays (or
    should) a
    ŒDone¹ button over the window. You do your alts and
    press Done to update the
    HTML and graphics back in Dreamweaver automatically.
    That¹s the only table I was referring to Murray.
    On 4/7/07 3:02 pm, in article
    [email protected], "Murray
    *ACE*" <[email protected]> wrote:
    > Why would you be wanting to edit the table in a graphics
    editor, instead of
    > an HTML editor?
    --B_3266407908_747577
    Content-type: text/html;
    charset="ISO-8859-1"
    Content-transfer-encoding: quoted-printable
    <HTML>
    <HEAD>
    <TITLE>Re: Launch and edit problem from Dreamweaver to
    Fireworks</TITLE>
    </HEAD>
    <BODY>
    <FONT FACE=3D"Verdana, Helvetica, Arial"><SPAN
    STYLE=3D'font-size:12.0px'>When =
    you export the sliced graphics from Fireworks it places them
    into a table. I=
    n my instance the code says...<BR>
    <BR>
    &lt;!-- fwtable fwsrc=3D&quot;Brands.png&quot;
    fwpage=3D&quot;Page 1&quot; fwba=
    se=3D&quot;Brands.jpg&quot;
    fwstyle=3D&quot;Dreamweaver&quot; fwdocid =3D &quot;32=
    5827661&quot; fwnested=3D&quot;0&quot;
    --&gt;<BR>
    <BR>
    So it recognises Fireworks was the the graphics app and jumps
    back to it wh=
    en you want to edit the image. Fireworks then displays (or
    should) a &#8216;=
    Done&#8217; button over the window. You do your alts and
    press Done to updat=
    e the HTML and graphics back in Dreamweaver
    automatically.<BR>
    That&#8217;s the only table I was referring to
    Murray.<BR>
    <BR>
    On 4/7/07 3:02 pm, in article
    [email protected], &quot;Murr=
    ay *ACE*&quot;
    &lt;[email protected]&gt; wrote:<BR>
    <BR>
    <FONT COLOR=3D"#0000FF">&gt; Why would you be
    wanting to edit the table in a =
    graphics editor, instead of <BR>
    &gt; an HTML editor?<BR>
    </FONT></SPAN></FONT>
    </BODY>
    </HTML>
    --B_3266407908_747577--

  • DataGrid Editing / saving back to server using Checkbox

    Hi
    I am new to flex.
    I want to load an xml to a datagrid.
    I need to populate the grid with check box so that user's can select the reequired rows,add and even add new rows and then save it back to server.

    Hi
    Still i am not able to get.
    can you suggest me.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
        <mx:Script>
            <![CDATA[
                import mx.rpc.events.ResultEvent;
                import mx.rpc.events.FaultEvent;
                import mx.collections.XMLListCollection;
                import mx.controls.Alert;
                               [Bindable]
                               private var dataValue:XMLListCollection;
                public function handleXML(event:ResultEvent):void
                    dataValue = event.result.root.sample as XMLListCollection;
                public function handleFault(event:FaultEvent):void
                   Alert.show(event.fault.faultString, "Error");
            ]]>
        </mx:Script>
        <mx:HTTPService result="handleXML(event);" fault="handleFault(event);" id="xmlRPC" resultFormat="e4x"
            url="http://localhost:8080/InfraLabWebApp/properties.xml" useProxy="false">
        </mx:HTTPService>
        <mx:Button x="130" y="95" label="Submit" click="xmlRPC.send();" width="160" height="22"/>
        <mx:DataGrid
            dataProvider="{dataValue}"
            x="80" y="141" width="262" height="92" id="dataGrid" editable="false" enabled="true">
        </mx:DataGrid>
    </mx:Application>
    MY XML IS
    <?xml version="1.0" encoding="UTF-8" ?>
    <root>
    <sample>
         <name>TV</name>
         <price>25000</price>
    </sample>
    <sample>
         <name>TV1</name>
         <price>25000</price>
    </sample>
    <sample>
         <name>TV2</name>
         <price>25000</price>
    </sample>
    </root>

  • Premiere Pro 7.1 serious Multicam Editing problems

    Hello, I am posting here because the bug report I filed one week ago to Adobe didn't give a result -no response at all from the bug department.
    I have two serious Multicam Editing Problems.
    PC Configuration: Core i7950, Asus P6TD Deluxe, 12GB DDR3 1600MHZ, Quadro K4000, SSD for the system, Seagate Constellation 7200rpm for video editing.
    1. When multicam mode is on at the program monitor, I press play and the program doesn't respond at all. The timeline plays till the end and the program just doesn't let you do anything but wait until playback of the whole timeline is over. Then the program works again (no "not responding" message in Windows).
    2. Sometimes the waveform doesn't even appear at the multicam audio clip. I read in other forums that this problem is found specifically at Premiere Pro version 7.1 (October release).
    I would be grateful with your help.
    Thank you,
    Stavros Symeonidis

    The media is always a combination of HD .MOV (dSLR footage and .MTS (from my Sony Vg-30). However, I also tested it with .mpeg files created by "match sequence settings". GPU acceleration is always on, as I use nVidia Quadro K4000 with the latest drivers (331.82).
    I always create the multicam sequences manually and the problem occurs with any amount of camera angles.
    The problem was not solved by reinstaling Windows (7 and 8). In general, I have no other issue with my PC system, except from this specific one.
    It doesn't appear always, however it will definitely happen if you press twice or three times the letter L, to fast forward the preview of your Multicam Sequence.
    I remind you that this only happens when multicam monitor is toggled at the program monitor.
    Did all these help at all to even reproduce this situation?
    Thank you,
    Stavros Symeonidis

  • FC studio2 editing problems with western digital my book home for mac

    hi--bought a 1TB WD my book home for mac coupla years ago because it seemed like a good deal for so much space, and provided and eSATA hookup, too. Worked ok for a while. Now, with a growing Motion project that I bring into FC for overall color/levels/export adjustments, I'm getting a long-term beachball every time I try to do anything with it. Just did a complete reinstall of FC studio (after running Techtool pro 5 rebuild and optimizing files and volume), trashed the project and recreated it incase the file itself was corrupted, but the beachball keeps showing up once i try to get past a particular edit and play the file through -- something I haven't had problems with before. Have read this harddrive is a real POS/PIA for many because of its internal "sleep" setting and other weaknesses, and am thinking of cracking the drive out of its case and putting it into a plain eSATA/FireWire enclosure. Anybody else tried this or heard of it working? Money's a big issue right now (too many slow/no pay clients), so can't just run out and get a new drive and transfer w/out trying cheaper route first. Would appreciate feedback, cuz this is makin' me lose what little hair i got left!
    Message was edited by: jayvee56
    Message was edited by: jayvee56

    My question says: "Final Cut Studio 2 editing problems"; I formatted the drive for the mac when i bought it: journaled HFS+, Apple Partition Map; 2 partitions (and connected via eSATA); which has been working fine as is up till now. The sequence and settings are those in which I've worked on many projects for years with no problems up until now. I am also completely up-to-date with all my app and system updates. I did begin to wonder after posting if the reinstall might be the source of my problems, but it was the interminable beachball waits that prompted the reinstall in the first place.

  • Editable datagrid firefox problem

    I have created an application that contains an editable
    datagrid but experiences problems when using the firefox browser.
    If there are multiple tabs of firefox open and an item is selected
    in the grid, when switching between the firefox tabs, the datafield
    in the grid becomes selected for edit without clicking on it. It
    appears that some kind of event is being called to change an entry
    in the grid. Similar results occur when changing between different
    windows i.e. firefox and flex builder.
    However, I don't have this problem when using internet
    explorer.

    That should be true for any Flex component.  Focus is always on something, you have to move it to a new place otherwise it gets restored back to what last had foucs.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • DataGrid rendering problem

    I have an ApplicationControlBar above a data grid.  The data grid has widths specified and is bound to a data source that is populated by a service call.  The mark up below causes the description column to disappear and the header row is about 10 times taller than it should be.  If I put an empty label inside  the application bar it all loads as expected.  I tried putting an updateComplete handler on the grid but I found two problems.  Adding a trace to the method handler showed that it just kept firing over and over.  It also prevented resize of the grid columns.
    <mx:VBox 
    height="100%" width="80%" horizontalScrollPolicy="off" verticalScrollPolicy="off">
    <mx:ApplicationControlBar width="100%" horizontalGap="0" id="docsAppBar">
    <mx:Button click="browseForDocs()"                  id="
    docsTabUploadButton"                  label="
    Upload Document"                  enabled="
    {MediaManagerModel.activateUploadButton}"/>
    </mx:ApplicationControlBar>       
    <mx:HBox width="100%" height="100%">
    <mx:DataGrid dataProvider="{tabMediaList}"                  id="
    docGrid"                   width="
    100%"                   height="
    100%"                  verticalGridLines="
    true"                   variableRowHeight="
    true"                   wordWrap="
    true"                   sortableColumns="
    false"                  editable="
    false"                  allowDragSelection="
    true"                   dragEnabled="
    true"                   dragMoveEnabled="
    true"                   dropEnabled="
    true"                  dragComplete="updateRowPositions()"
                      itemClick="updateCurrentMediaObject()"
    >
    <mx:columns>
    <mx:DataGridColumn width = "20" id="displayOrderCol" headerText="#"  dataField="displayOrder" labelFunction="MediaManagerModel.getMediaDisplayOrder"/>
    <mx:DataGridColumn width = "250" id="mediaNameCol" headerText="File Name" dataField="mediaName" />
    <mx:DataGridColumn width = "120" id="mediaTypeCol" headerText="Type"  dataField="mediaType" labelFunction="MediaManagerModel.getMediaTypeDisplay"/>
    <mx:DataGridColumn width = "60" id="buyerCol" headerText="Public" dataField="buyer" labelFunction="MediaManagerModel.getPublicDisplay" textAlign="center"/>
    <mx:DataGridColumn width = "50" id="mediaSizeCol" headerText="Size" dataField="mediaSize" labelFunction="MediaManagerModel.getMediaSizeDisplay" textAlign="center"/>
                           <mx:DataGridColumn width = "90" id="inputDateCol" headerText="Date Added" dataField="inputDate" labelFunction="MediaManagerModel.getMediaInputDateDisplay" textAlign="center"/>
                           <mx:DataGridColumn width= "240" id="mediaDescrCol" headerText="Description" dataField="mediaDescr" />                          
    </mx:columns>
               </mx:DataGrid>
         </mx:HBox>
         </mx:VBox> 
    If I add <mx:Label/> inside the ApplicationControlBar everything renders fine.  Any ideas? 

    How are you re-assigning the dataProvider from the
    RemoteObject result?
    Tracy

  • Datagrid scrolling problem

    I'm trying to create a contact search/selection component
    that works somewhat like a combobox (more like SuperComboBox
    http://blog.strikefish.com/blog/index.cfm/2008/3/21/Flex-Smart-Combo-aka-look-ahead-combo
    See sample at
    http://www.eval.rmc.psu.edu/dgt/DataGridTest.html
    Source view is enabled.
    Basically, after the user types a few characters of the last
    name, a datagrid (separate component) is popped up and presents a
    list of matching contacts. The component includes view edit add
    buttons, too (which are not active in the included example).
    This all works great except for a couple of problems with the
    popped up datagrid. I've tried both the standard and advanced dg's
    and the both act the same.
    If the number of rows returned exceeds the area of the
    datagrid (12 rows in the example), the datagrid, as expected,
    displays a vertical scroll bar. The scrollbar/datagrid doesn't work
    properly at that point, though. Clicking the down arrow or in the
    scrollbar track or the down arrow DOES NOT scroll the data.
    Grabbing the slider bar and dragging it down DOES scroll the data
    down. However, when I do scroll down using the slider, clicking on
    a row does not fire the itemClick event, and the grid scrolls up to
    the first 12 lines and highlights a row in the first 12 rows. CLICK
    does get fired but always returns a row between 1 and 12.
    Now, ideally, the user is going to type 3 or 4 characters of
    the last name and zero right in on the contact they're looking for
    without the need for scrolling, but there are always the outliers
    like 'Smith' that return a large number hits (the example uses PA
    Legislators offices, so it's not quite representative of the
    end-use data set). Regardless, the datagrid object doesn't appear
    to work correctly when it's a component -- I'm not sure if it's a
    bona fide bug, or the whether it's that the grid is a component,
    contained in a canvas, or being popped up that's the problem. More
    likely, my flex newbie self just doesn't have some vital attribute
    set correctly, or I'm doing something else that's not correct.
    Any insights would be greatly appreciated.
    Thanks,
    want-a-dw
    Sample code included.
    Windows XP SP2
    Flex Builder 3.0.205647
    Same results with these browsers/player versions.
    Firefox 2.0.0.17, Flash Player 9.0.124.0 (and 9.0.115.0)
    IE 6.0.2900.2180, Flash Player 9.0.124.0 (and 9.0.115.0)
    Chrome 0.2.149.30, Flash Player 9.0.124.0

    > That is definitely incorrect behavior.
    > Does this happen in a simple test app? I think I have an
    example I can try with, I will post back what I find.
    Yes. There is an example of the behavior at
    http://www.eval.rmc.psu.edu/dgt/DataGridTest.html
    and source code view is enabled. Thanks for your help.

  • Datagrid refresh problem?

    fileListArray.refresh();
    dg_curtainmanager.invalidateList();
    dg_curtainmanager.invalidateDisplayList();
    <mx:DataGrid id="dg_curtainmanager" showHeaders="true"  editable="true"  includeInLayout="false" dataProvider="{fileListArray}"  creationComplete=""  variableRowHeight="true"   wordWrap="true"  rowCount="{fileListArray.length}"  width="100%"  >
    <mx:DataGridColumn  headerText="Parent Folder"  sortable="true"  editable="false"   width="250" minWidth="65" wordWrap="true" >
                            <mx:itemRenderer>
                                <fx:Component>
                                    <mx:HBox width="100%"
                                             horizontalAlign="left" verticalAlign="middle">
                              <mx:Image source="@Embed(source='images/edit_16.gif')"  toolTip="Select Starting Folder" buttonMode="true" click="outerDocument.parentfolderimagclick()" />
                                        <mx:Label text="{data.document_folder_name}" color="black" />   
                                    </mx:HBox>
                                </fx:Component>
                            </mx:itemRenderer>
                            </mx:DataGridColumn>
    </mx:DataGrid>

    @welcomecan,
    What refresh problem you are facing.. in DataGrid? When you change your DataProvider for your grid the values are not being changed or somethingelse..??
    Please always be clear in explaining your problem in order to get it resolved..
    Thanks,
    Bhasker

  • Simple DataGrid validation Problem

    hi friends
                   I am working on a application in which i  m facing a problem.i have a datagrid having two column field one is simple datagrid column and in other  datagrid column i render textinput as a component. there are only two row in my datagrid.so now i have to apply validation on that data grid.i mean if any textinput componet which is render in second column in data grid left blank and i click on save button then there should be validation Alert messg.
    i am facing a problem on gettin id(instance) of that two rendered textinput component.Please help me out.
    Thanks and Regards
       Vineet Osho

    Hi Vineet Osho,
    You can try this...
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
        >
        <mx:Script>
            <![CDATA[
             import mx.utils.StringUtil;
             import mx.collections.ArrayCollection;
                import mx.controls.TextInput;
                import mx.events.DataGridEvent;
                import mx.controls.Alert;
                public var arr:Array = [];
                public  var incrementer:int;
                private function validateTextInputs():void
                 var strIndexes:String="";
                 var gridDP:ArrayCollection = dataGrid.dataProvider as ArrayCollection;
                 for(var i:int=0;i<gridDP.length;i++)
                  if(StringUtil.trim(gridDP.getItemAt(i).displayText) == "")
                   strIndexes += (i + 1) + ",";
                 if(strIndexes.length > 0)
                  strIndexes = strIndexes.substring(0,strIndexes.length-1);
                  Alert.show("The TextInputs " + strIndexes + " are empty.");
            ]]>
        </mx:Script>
        <mx:DataGrid id="dataGrid" horizontalCenter="0" verticalCenter="0" width="400" height="200">
            <mx:columns>
                <mx:DataGridColumn headerText="First" width="60" dataField="artist" editable="false"/>
                 <mx:DataGridColumn   width = "60" headerText = "Premium %(e.g. Percentage as 100)" >
                       <mx:itemRenderer>
                            <mx:Component>
                                 <mx:TextInput styleName="TextInputRight" focusOut="data.displayText=this.text;" width="100" text="{data.displayText}">
                                 </mx:TextInput>
                            </mx:Component>
                        </mx:itemRenderer>
                  </mx:DataGridColumn>
           </mx:columns> 
                  <mx:dataProvider>
                    <mx:ArrayCollection>
                      <mx:Array>
                        <mx:Object title="Stairway to Heaven" artist="Led Zepplin" displayText=""/>
                        <mx:Object title="How to Save a Life" artist="Fray" displayText=""/>
                      </mx:Array>
                    </mx:ArrayCollection>
                  </mx:dataProvider>
          </mx:DataGrid> 
          <mx:Button id="btn" label="click"  x="527" y="450" click="validateTextInputs()" />
    </mx:Application>
    Thanks,
    Bhasker

  • Editing problems with iTunes 64-bit in Vista

    Hello!
    Just bot a new computer with Win Vista 64-bit and had to install new iTunes 64-bit.
    It's somewhat slow when switching between Windows and iTunes.
    Also, what happened to the "quick" edit feature?
    As in.... highlight song, hit F2 or just click ONCE with left mouse button and you can EDIT the song title, artist, etc...
    It's NO longer available!
    What happened to it?
    I'm RE-importing my HUGE collection of playlists and backed up library and songs, which is all MESSED up and.... I have to spend TONS of time now EDITING the title info!!!
    Anyone have problems or any solutions to this "editing" snafu????
    Thank you!

    Responding to own post.... Found answer!
    Must set permissions!
    Highlight iTunes folder..
    Right click..
    Properties..
    Securities tab...
    Click on EVERY group/user names..
    Allow..
    Full control..
    OK!
    Saved!
    Darn Windows Vista!
    Screwing up the file/folder permissions due to the hated UAC feature!

  • SAP ISA R/3 Edition problem with TREX

    Hi!
    We are migration our Internet Sales (R/3 Edition) 4.0 with SAP J2EE Engine 6.20 to SAP J2EE Engine 6.40.
    We’ve already migrate your Java Basket data. And we’ve installed TREX 6.1
    for catalogue replication and we’ve created a WEB SITE in IIS.
    We’ve created a B2B scenario and we’ve configured xcm for: b2b, Shopadmin
    and trexr3.
    Apparently TREX is working fine... I can create and replicate catalogs, view the catalogs within TREX, etc. But I'm getting the following error when I try to see the content of catalog within http://10.125.25.57:50100/trexr3/b2x/admin/catalog.do.
    Exception from the PCAT API: Index has not been assigned to this
    IndexServer;location=sapisaqld01:30203,index=index_id1204052895687pindex(Errorcode 2004) Retrieval of trex index failed!
    I've just updated TREX 6.1 to SP33 and the problem persists.
    We can find the following messages within TREXindexserverAlert.trc:
    [01176] 2008-02-29 11:55:46.812 e indexserver TREXIndexServer.cpp(00632)
    : ERROR: not assigned to index: 'index_id1204053610211pindex', function:'showIndex'
    and when we try to see the catalog information within
    http://10.125.25.57:50100/trexr3/b2x/admin/init.do
    we get the message:
    Exception from the PCAT API: Index has not been assigned to this
    IndexServer;location=sapisaqld01:30203,index=index_id1204052895687pindex(Errorcode
    2004) Retrieval of trex index failed!
    Any hints?
    Cheers,

    Hi Dick,
    Guess how I solve this problem?
    Well.... I've reinstalled SAP TREX 6.1 SP33 and started from scratch.
    Thanks
    FF

  • Editing problem in PSE 12

    I have recently updated to PSE 12 and have (at least) two problems. 
    First, the edited versions of images edited in Photo Editor do not save to Organizer or Version Set, although they do appear in the relevant Windows folder.  I have checked the various settings in the Save function and they appear to correct.  This problem does not arise if I use Instant Fix.
    Second, tags in the People, Places and Events groups do not appear when Remove Keyword Tag is clicked, even though they are visible on the screen with the relevant image and work normally to select images.  However, tags in the Keyword group do appear normally when Remove Keyword Tag is selected.
    I have tried the Catalog Repair function and it tells me that there is nothing to repair.
    If I move the images to a different (new) catalog created in PSE12, the problems disappear. This is not a solution to my problem as I have far too many images to organise in a new catalog.
    The problems also disappear if I use PSE 10 on the same images.
    Advice welcome.

    globaltraveller200 wrote:
    Michel,...However, the tag issue appears even worse than I thought.  The upgrade has
    placed my (hundreds of) sub-categories and tags into the new Places, where
    I can't find a way to move or reorganise them or add new ones.  Do you know
    a way to recover from this?  Or can I remove PSE 12 and reinstall it in a
    different way, so that the tags are preserved (or is it too late to do
    this?)
    Maurice
    Maurice,
    Reinstalling is not a solution. I suppose you still have PSE10 and that you have not done many additions and changes to your catalog since upgrading.
    To understand why I was not bothered by the migration of people and events tags from PSE10 to PSE11, remember that you can rename categories as you wish, even if they are default categories in PSE10. With my English PSE version, I had renamed People = Personnes, Family = Famille, Friends = amis, and so on. Since the catalog conversion is based on the default category names, the conversion ignored those pre-defined categories et considered them as custom ones.
    So, just try to rename the categories in PSE10; MyPeople instead of People, MyEvents instead of Events and so on. Then from PSE12 (would be the same for PSE11) convert again the catalog from the catalog manager menu of PSE12. You have to check the box to 'show already converted catalogs'. That should convert it to the old way. You may have to re-import new items, but that should not be too big a problem.

Maybe you are looking for