How to sort datagrid control dataprovider by number

Some how my database got out of use (when we look at visually through phpmyadmin). Sometimes, the lines are displayed in the phpmyadmin 3,1,2 instead of 1,2,3. Therefore when I retrieve the lines of the php database then the flex datagrid, lines are displayed 3,1,2 as the database. I think that I can reset the database and it fixed; However I would like to have a surefire way to make sure the DataGrid still displays lines numerically in the order of the image_no of each row retrieved from the database.

I found this for lessons, but cannot not implemented.

http://www.flexafterdark.com/docs/Flex-CollectionSorting

The code below has no effect on the order of display in the grid. Can someone help me to do this work. Thank you.

Import spark.collections.Sort;

Import spark.collections.SortField;

private void getImagesResult(event:ResultEvent):void {}
images = event.result.image as ArrayCollection collection;

var sortField2:SortField = new SortField ("image_no");
sortField2.numeric = true;
sortField2.descending = true;
images.sort = new Sort();
images.sort.Fields = [Trichamp2];
images. Refresh();
}

< mx:DataGrid dataProvider = "{images.source}" >
< mx:columns >
< mx:DataGridColumn dataField = "image_no" / >
< mx:DataGridColumn dataField = "image" / >
< / mx:columns >
< / mx:DataGridColumn >

Probably because you assign the images.source and not just images

Tags: Flex

Similar Questions

  • SQL - how to sort and filter a certain number of courses by using a setting

    Hello I am using Oracle 11 g 2 SQL in TOAD Version 11.5.1.1.2 editor

    I try to view all course numbers for my classroom that has the following conditions: only if the user specifies the code "adg" in parameter: programcode otherwise it will show all courses.

    ##A###
    ##C###
    ##N###
    ##Q###

    Where the third character of my number of course must be a (A, C, N, Q).

    However, I get the following error [error] performance (71:39): ORA-00907: lack the right parenthesis

    Select course_number
    classroom
    where course_number = (case when: programcode is null then to another course_number (case when: programcode as 'adg' then))
    (course_number LIKE '__Une %' OR)
    course_number LIKE '% __C' OR
    course_number LIKE '% __N' OR
    course_number LIKE '% __Q') ELSE NULL END END))


    Help will be greatly appreciated... Thank you!

    Hello

    That's what you asked for:

    SELECT  course_number
    FROM      classroom
    WHERE      NVL (:programcode, 'ok')     != 'adg'
    OR     SUBSTR (course_number, 3, 1)     IN ('A', 'C', 'N', 'Q')
    ;
    

    If you are intersested in what caused the error in the code you posted, it helps to format your code, while each "(" s'aligne sur sa droite de correspondance") left ', each CASE is aligned with its corresponding END and so forth:"

    Select  course_number
    from      classroom
    where      course_number = (
                           case
                               when  :programcode is null
                         then  course_number
                         else (
                                   case
                                       when :programcode like 'adg'          -- No point in using LIKE without a wild card
                                   then (
                                        course_number LIKE '__A%' OR     -- What value is this?
                                               course_number LIKE '__C%' OR
                                         course_number LIKE '__N%' OR
                                         course_number LIKE '__Q%'
                                   )
                              ELSE NULL
                             END
                     END                -- This should be a line later
                              )      -- This should be a line earlier
                      )
    

    If you would care to post some sample data (CREATE TABLE and INSERT and something instructions for: programcode) then I could test it.

    The error was caused by the evil place ")" towards the end of the month. The outside CASE keyword was within 1 pair of parentheses, but its corresponding END was within 2 games.
    If you have solved that, you would get another error because of the inner CASE expression. Remember, each WHEN clause has to return a value in one of the types of SQL, such as NUMBER or VARCHAR2 data. What is the value in this data type SQL is returned by internally WHEN?

  • How to disable the elements (gray out) in the DataGrid control?

    Hello

    I need to implement a component custom for a selectable list with a maximum selected items.

    in other words, when the selected items reached the maximum, all unselected items will be gray outside.

    Now I am able to use the DataGrid control to display a selectable (by itemRenderer) "checkbox" to the first column, to let the user select the item.

    And the name of the list in the second column.

    But I can't find a way to grey out (disable) these no selected item when max is reached.

    Can someone give advice?

    Here is my code snippet:

    SelectableListView.mxml

    < mx:VBox ' xmlns:mx = ' http://www.Adobe.com/2006/MXML " " width ="100%" height = "100%" "visible ="true">

    "" " < mx:DataGrid id ="list_datagrid"dataProvider =" {} {this.stringList}"showHeaders ="false"

    "" "" editable = "false" "selectable ="true"verticalGridLines ="false"borderStyle ="No"alternatingItemColors = '[#F8F8F0, #FFFFFF]"

    "" "" left = "5" rowCount ="16" rowHeight = "20" height ="83" width = "100%"top ="0"doubleClickEnabled = "true" doubleClick ="onDoubleClick (event)" >

    < mx:columns >

    " < mx:DataGridColumn id ="listCheckBox_col"dataField ="selected"editable ="false".

    "itemRenderer ="ListRenderer"width ="18"headerText =" ' resizable ="false" draggable = "false"/ > "

    " < mx:DataGridColumn id ="listName_col"dataField ="name" / >

    < / mx:columns >

    < / mx:DataGrid >

    < / mx:VBox >

    ListRenderer.mxml

    < mx:Canvas ' xmlns:mx = ' http://www.Adobe.com/2006/MXML " " width ="100%" height = "60" > "

    < mx:Script >

              <! [CDATA]

    private function setInUse(): void

                   {

    _data.selected = listInUse.selected;

                   }

    []] >

    < / mx:Script >

    "" " < mx:CheckBox id ="listInUse"width ="18"height ="18"click ="setInUse()"selected =" _data.selected{}"/ > "

    < / mx:Canvas >

    What is listInUse insdie the itemRenderer? I'm not very clear on how you use

    it. However, there are 2 ways to do this. Do not know if data.selected can be used

    to toggle the itemrenderer. I'll so guess not. Have a bindable extra

    "enabled" in your model of dataProvider property. Thus, when you reach the maximum of

    selected items through the collection and defined the set of the activated

    as a result. The enabled property of the renderer is linked to active so model

    It should be updated accordingly. The other way is to bind the license of the

    rendering engine on the selected. But as I said I don't know how your code works...

    HTH,

    C

  • How to populate a datagrid control?

    [Flex framework 3.0]

    How to fill a DataGrid using data to a sqlite database. In this case, what can be the dataProvider. I have to define bindable?

    Location:

    I have an AIR application that fills a SQLite database. The AIR App has a DataGrid. The content of the database must be in the datagrid control. There is a button that fills the database if you click. Accordingly the view IE the datagrid needs to update. Do I need to query the database using the SELECT command each time?

    My main question is to make the datagrid show the content of the database.

    Say the database has three columns.

    Help, please.

    Thank you.

    Good luck

  • How to loop through DataGrid (ArrayCollection, DataProvider collection)

    I need to loop through a collection ArrayCollection DataProvider or DataGrid (not sure which is best) so that I can insert information in a database through ColdFusion.

    The data grid has three columns: ID, item and quantity.  I have a table that contains these same fields.  The DataGrid control is pre-filled with a list of items.  The user can then enter the quantity of items in the DataGrid.  I then want to store this information in my table.  In ColdFusion, I would accomplish this through CFLOOP, however, in Flex I want to loop through the data grid so that I can get all the items and the quantities that the user has updated.

    I guess I have to do a loop in ActionScript, but I don't know how to do that.  Can anyone provide a suggestion and example code?

    Thanks again!

    Lee

    If this post answers your question or assistance, please mark it as such.

    Here ya go:



    http://www.Adobe.com/2006/mxml '.
    creationComplete = "init (); » >
     
        Import mx.collections.ArrayCollection;
         
    public void init (): void {}
    var ac:ArrayCollection = new ArrayCollection([)
    {Field1: "my one - item a field", Field2: "my field two - point one"},
    {Field1: "my field one - point two", Field2: "my field two - point two"},
    {Field1: "my one - three field element", Field2: "my field two - point three"},
    ]);
    for each {(var point: Object en ac)}
    for each {(var: objet field àle point)}
    trace (Field);
    }
    }
    }
    ]]>
     

  • How to clear a selected line of the datagrid control in flex 4

    Hi friends,

    I have a datagrid and a button, delete once I've selected a line of datagrid, then click on Remove button medium it should remove the data grid.

    How to do this.please help.

    No matter what welcome suggession

    Thanks in advance,

    Vegas

    Hello

    For that you call the same function on click of a button. This button is outside your datagrid control.

    public void deleteItem(event:MouseEvent):void {}
    dgArrayCollection.removeItemAt (dg.selectedIndex);
    dgArrayCollection.refresh ();
    }

    Thank you and best regards,

    ---------------------------------------------------------------------- -----------------------------

    Kanchan Ladwani | [email protected] | www.infocepts.com

    ---------------------------------------------------------------------- -----------------------------

  • DataGrid: can I recover the data, BUT it does not show the datagrid control

    Hello

    Hi - I've traced data through php mysql in actionscript but it does not show the datagrid control. Here is my code.

    Import fl.controls.DataGrid;

    Import fl.controls.dataGridClasses.DataGridColumn;

    Import fl.data.DataProvider;

    Import fl.controls.ScrollPolicy;

    Import fl.managers.StyleManager; necessary to format the text in cells

    import flash.display.MovieClip;

    import flash.net.URLRequest;

    import flash.events.Event;

    import flash.events.MouseEvent;

    import flash.net.URLLoader;

    to import flash.net.URLVariables;

    import flash.net.URLRequestMethod;

    import flash.net.URLLoaderDataFormat;

    Create a new instance of the DataGrid component.

    var aDg:DataGrid = new DataGrid();

    var myDp:Array = new Array();

    var myData:URLRequest = new URLRequest ("http://www.cambridgekids.es/kglad/php/getUsers.php");

    myData.method = URLRequestMethod.POST;

    var loader: URLLoader = new URLLoader();

    loader.dataFormat = pouvez;

    loader.addEventListener (Event.COMPLETE, dataOnLoad);

    Loader.Load (mydata);

    function dataOnLoad(evt:Event) {}

    for (var i: uint = 0; i < evt.target.data.cant; i ++) {}

    myDp.push ({number: evt.target.data ["firstname" + i], Apellido:evt.target.data["lastname"+i]});})

    / / trace (evt.target.data ["firstname" + i]);

    }

    myDp.dataProvider = new DataProvider (myDp);

    }

    aDg.dataProvider = new DataProvider (myDp);

    aDg.columns = ['number', 'Apellido'];

    aDg.setSize (800,300);

    aDg.move (150,200);

    aDg.rowHeight = 40; / / allows 2 lines of text in the default text size.

    aDg.columns [0] .width = 80;

    aDg.columns [1] .width = 30;

    aDg.resizableColumns = true;

    aDg.verticalScrollPolicy = ScrollPolicy.AUTO;

    addChild (aDg);

    DOH! I thought I was in the flex forum so ignore my previous answer.

    You must set the dataProvider on the dg after completing the dataprovider with data so spend aDg.dataProvider = new DataProvider (myDp); at the end of the dataOnLoad method

  • Using a DataGrid control to get a RemoteObject

    What I have is a compound of two components. A component is a datagrid control that contains a list of users in it. The other component is just a group of checkboxes.

    Do I have to be able to do is select a user in the DataGrid and the second part, do trigger a RemoteObject call and returns the data about the person I selected in the datagrid control. What I need to know, is how to move selected users ID value to the RemoteObject call? The ID of the selected user is contained in an object called SelUserInfo.UserCnt. This object is sent to the second component when something is selected in the data grid. So far, that's what I have my code...

    My RemoteObject call:
    < mx:RemoteObject id = "getUserSec" destination = "ColdFusion" source = "ISIF. WebServices.Flex.UserData"ShowBusyCursor ="true">
    < mx:method name = "getUserSecRoles" result = "getRolesHandler (event)" >
    < mx:arguments >
    {SelUserInfo.UserCnt} < UserCnt > < / UserCnt >
    < / mx:arguments >
    < / mx:method >
    < / mx:RemoteObject >

    My Manager for the RemoteObject call:
    [Bindable]
    private var userSecRoles:ArrayCollection;

    private void getRolesHandler(event:ResultEvent):void
    {
    userSecRoles = new collection ArrayCollection (event.result as Array);
    }


    My function which is called when a user is selected in the datagrid control:
    public void getUserRoles(): Sub
    {
    getUserSec.getUserSecRoles.send ();
    }

    The problem is that the userSecRoles is always null. Does anyone know if I call the Number correctly?

    Have an ordinary day...
    KomputerMan ~ |  :-)

    Problem was found to be in the order that things were called. I would call the datagrid listener when a user has been selected by using this code:

    [Bindable]
    private var selectedUser2:Object;

    private void userSelHandler2(event:KDL_SelEvent):void
    {
    selectedUser2 = event. KDL_SelObject;
    getUserSec.getUserSecRoles (selectedUser2.UserCnt);
    Roles2TempID.getUserRoles (); initialize checkboxes
    }

    GetUserSec.getUserSecRoles (selectedUser2.UserCnt); line call my RemoteObject that calls the following event handler, to the Office of receiver data in a table.

    [Bindable]
    private var myUserSecRoles:ArrayCollection;

    private void getRolesHandler(event:ResultEvent):void
    {
    myUserSecRoles = new collection ArrayCollection (event.result as Array);
    }

    Problem is that the Roles2TempID.getUserRoles (); line of my datagrid selected event would trigger before the RO call was finished. In this way, I had all the data when the model is being developed. To resolve this problem, I call the code to initialize my model after that my manager RO be finished like this:

    [Bindable]
    private var myUserSecRoles:ArrayCollection;

    private void getRolesHandler(event:ResultEvent):void
    {
    myUserSecRoles = new collection ArrayCollection (event.result as Array);
    Roles2TempID.getUserRoles (); initialize checkboxes
    }

    Now the data is passed to the template until the model itself is initialized. My guess is that I have to do it this way because of Flex how threads. You mind just a guess. But it works now!

    Have an ordinary day...
    KomputerMan ~ |  :-)

  • How search/filter DataGrid

    Hello

    This is of course related to the Flex 2. I use an httpservice to fillup a datagrid. The question is, how do I filter data in the DataGrid based on an input string, as a search/filter feature.

    see you soon,

    Hello
    If your datagrid control then uses a collection of array as a dataprovider, you must use the arraycolletion.filterfunction to do it, if not, then try using a collection of table.

  • How to fill a control ring with chains [] array?

    How to fill a control ring with chains [] array?

    It must be karma. (Try really bad karma because I couldn't post this question in my original)

    I must have been a Really bad guy in a previous life...  It's not like I'm bad in this one...

    So... what I want to do this time around?  Something that I thought would be easy... Well... it's a long story...  I had a simple solution, but the client wants something else.  -sigh-

    Here is what they want...  They want a control that allows for multiple selections to a control of the ring (or a control that allows a drop down selection menu).  Bites are filled at run time because it is based on 10 000 other precedents of things this particular choice.  So it must be dynamic.

    The snippet of code & images below show what I'm doing a little...

    The bottom image shows on the right bites which is filled in the control of the ring.  Since the number of items / items changes, I didn't have a bunch of controls stacked on another.  In addition, I have to deal with an unknown quantity of selections.

    Does anyone have a solution that can be recommended?  If so, can you share the solution / idea?

    Thank you

    RayR

    I have posted a code that does something similar here: http://forums.ni.com/t5/LabVIEW/array-of-cluster/m-p/1822451#M625032

    It uses a table hint and individual controls that are moved on top of the table and populated as needed.  This approach might work for you?  You would need a two-column table and only control ring, which you would fill properly whenever the currently active cell changes.

  • Sort by year, album, disc number

    I think the rocket and the clip kind something like (alphabetically) artist > album (alphabetically) > songs (according to track number). It would be better if this was sorted in this way: (alphabetically) artist > album (per year) > songs (with number of disk first, then track number) so if you have multiple disc albums, they are sorted properly. Or at least the possibility of being able to sort out this way. I played a bit with tags drive and the "rocket" numbers so the clip still doesn't sort them properly. If this has been corrected or added I think it will help a lot of people looking for a more refined way of sorting.

    Conversionbox wrote:

    d_headshot wrote:

    NickC says:
    Simply his preface to the existing track number by numero_disque followed by a "." would be highly desirable, i.e. D1, T1 > 1.01; D4, T23 > 4.23; etc.

    ???

    I think he meant something like that

    Artist > title > disk. Track

    So if I understand it would be

    Kiss > Kissology > 1.12 (disc 1 track 12)

    This seems a bit messy. A cleaner way would be:

    Artist > Album > track 1 (Disc 1)

    Track 2 (Disc 1)

    Track 1 (Disc 2)

    Track 2 (Disc 2)

    .. (drive x) .with be invisible then it will look in the same way the "rocket" and clip already do. Just the sort is fixed.

    Edit: actually I just checked the fuse and the clip and that's exactly how they sort with the appropriate disk labels

    From what I remember, it's this track 1 from these two records would be just below or above eachother. If this problem occurs again I'll post on this lol.

  • How to sort the videos Sony's AVCHD cam by DATE.

    How to sort the videos Sony's AVCHD cam by DATE.  500 clips in media browser PP are not ordained.  A little more of the FCP where appears the ingestation list, you check what you want and import.  It looks different in PP.  I dragged all the AVCHD folder on the camera (via the copy on the desktop Mac) media victory on PP.  He broke them in 500. Video clips of MTS which cannot be classified by date.  What should do?

    Hi Pup8888,

    pup8888 wrote:

    Here is what I could not say.  He pulls of a Sony 520 in ACVHD and somehow that the data CLEARLY arranged the clips in FCP do not appear in PP.  Maybe it's the issue.

    If you do not ingest the files through their structure to map intact complete with media browser and makes your entire organization in another application, Yes, I can see why some of the metadata is missing.

    pup8888 wrote:

    I also get a DEVICE NOT DETECTED in PP when the camera is clearly working in the new IMAC.

    The remote control is not available for file based devices, so I don't think you need to worry about this.

    pup8888 wrote:

    So I do drag the AVCHD HD folder and import all in PP and yes it in busts. MTS files and works very well but unsortable by date.  They are randomly dumped inn the media browser.  Thoughts?

    Can arrange you by date when they are ingested and in the project Panel? Arrange by date in the media browser would be a feature request. What to do here: http://www.adobe.com/go/wish

    Thank you
    Kevin

  • ESXI4.1 has how often is DRS control the CPU usage?

    ESXI4.1 has how often is DRS controls the use of the CPU on the host?

    I have 16 ESX host. Some of the hosts reach very hight CPU use, up to 98%, although some are as low as 52%. I understand DRS moves virtual machines only when you have to. I wonder how often it checks. Is there a set period of time, or DRS works in real time to check the hosts. Virtual machines are finally left guests busy, although guests were constantly busy today, about 90% + CPU, while some have been systematically 50%.

    On the 16 hosts, we have configured 1 host failover capability and the current capacity of 11 host failover. Affinity rules apply only to a limited number of virtual machines (about 6) of about 300.

    By default DRS is called every 300 seconds.

    Best regards, Robert

  • Retrieve data from the datagrid control

    Hi people,

    Currently I'm trying to create a datagrid control that allows the user to see the view of all data. And allow the user to click the data grid and a popup displays a more detailed information data

    But I have some problem to retrieve the id of the data first. I managed to create a click event to allow the user to click a specific popup data and shows.

    I need help regarding this. Thank you

    -ExpertDiscoverySystem.mxml-

    [Bindable]
    public var dataid:String;
    private void onItemClick (e:ListEvent): void {}
    currentState = "SearchName;
    Add here the popup, then try to transfer a certain area to display all necessary data
    titleWindow = PopUpManager.createPopUp (Thi, component. DataDetail, true) as TitleWindow;
    PopUpManager.bringToFront (titleWindow);
    var dataid:String = e.currentTarget.selectedTarget.id;
    }

    < mx:Panel put width = "1169" height = "558" layout = "absolute" title = "Datagrid" x = "48.7" y = '171.65' includeIn 'SearchResult' = >
    < mx:Label horizontalCenter = "0" y = "1" text = 'results '.
    fontSize = "16" fontWeight = "bold" / >
    < mx:DataGrid id = "dgPeeps" width = '1141' height = '487' selectedIndex = '0' showHeaders = 'false' "16.6" = x y = '24' creationComplete = "dgPeeps_creationCompleteHandler (event)" itemClick = "onItemClick (event); "dataProvider ="{getContentForAllResult.lastResult}">
    < mx:columns >
    < mx:DataGridColumn dataField = "img" itemRenderer = "component.image" / >
    < mx:DataGridColumn headerText = "name" dataField = "name" / >
    < mx:DataGridColumn headerText = "Department" dataField = "department" / >
    < mx:DataGridColumn headerText = "expert" dataField = "expert" / >
    < mx:DataGridColumn headerText = "project" dataField = "project" / >
    < mx:DataGridColumn dataField = "id" / >
    < / mx:columns >
    < / mx:DataGrid >
    < / mx:Panel >

    -DataDetail.mxml - the popup component

    <? XML version = "1.0" encoding = "utf-8"? >
    " < = xmlns:fx s:TitleWindow ' http://ns.Adobe.com/MXML/2009 "
    xmlns:s = "library://ns.adobe.com/flex/spark".
    xmlns:MX = "library://ns.adobe.com/flex/mx" width = "700" height = "600" backgroundColor = "#000000" backgroundAlpha = '0,70' close = "titleWindow_close (event)" xmlns:services = "*" services > "
    < fx:Declarations >
    < s:CallResponder id = "getSpecificResultResult" / >
    < services: ExpertSearchManager id = "expertSearchManager" fault = "Alert.show (event.fault.faultString +"\n"+ event.fault.faultDetail)" showBusyCursor = "true" / > "
    <! - Place non-visual elements (e.g., services, items of value) here - >
    < / fx:Declarations >

    < fx:Script >
    <! [CDATA]
    Import mx.controls.Alert;
    Import mx.core.FlexGlobals;
    Import mx.events.CloseEvent;
    Import mx.events.FlexEvent;
    Import mx.managers.PopUpManager;

    [Bindable]

    private void titleWindow_close(evt:CloseEvent):void {}
    PopUpManager.removePopUp (this)
    }

    protected function dataGrid_creationCompleteHandler(event:FlexEvent):void
    {
    change below with Dynamics
    var dataid:String;
    dataID = FlexGlobals.topLevelApplication.id;
    getSpecificResultResult.token = expertSearchManager.getSpecificResult (dataid);
    }

    []] >
    < / fx:Script >

    < mx:Image x = "10" y = "10" width = "67" height = "67" / >
    < s:Label = "85" x = "10" text = "Label" color = "#FFFFFF" / >
    < s:Label = "125" x = "10" text = "Label" color = "#FFFFFF" / >
    < s:Label = "85" x y = "30" text = "Age" color = "#FFFFFF" / >
    < s:Label = "114" x y = "30" text = "Label" color = "#FFFFFF" / >
    < mx:HRule x = "0" y = "109" width = "697" / >
    < mx:HRule x = "0" y = "256" width = "698" / >
    < mx:VRule = "256" x = "114" height = "141" / >
    < s:Label x = "10" y = "119" text = "Social Networking" color = "#FFFFFF" fontWeight = "bold" fontSize = "14" / >
    < s:Label x = "10" y = "270" text = "Relationship" color = "#FFFFFF" fontWeight = "bold" fontSize = "14" / >
    < s:Label = "270" x = "119" text = 'Skills' color = "#FFFFFF" fontWeight = "bold" fontSize = "14" / >
    < mx:Image = "4" x = "151" source = "images/twitter.gif" width = "85" height = "21" / > "
    < mx:Image = "6" x = "199" source = "images/facebook.jpg" width = "85" height = "21" / > "
    < s:Label = "99" x = "160" text = "Label" color = "#FFFFFF" / >
    < s:Label = "99" x = "208" text = "Label" color = "#FFFFFF" / >
    < mx:DataGrid = "283" x = "376" id = "dataGrid" creationComplete = "dataGrid_creationCompleteHandler (event)" dataProvider = "{getSpecificResultResult.lastResult}" > "
    < mx:columns >
    < mx:DataGridColumn headerText = "id" dataField = "id" / >
    < mx:DataGridColumn headerText = "expert" dataField = "expert" / >
    < mx:DataGridColumn headerText = "project" dataField = "project" / >
    < mx:DataGridColumn headerText = "searchTerm" dataField = "searchTerm" / >
    < mx:DataGridColumn headerText = "searchCriteria" dataField = "searchCriteria" / >
    < mx:DataGridColumn headerText = "Department" dataField = "department" / >
    < mx:DataGridColumn headerText = "name" dataField = "name" / >
    < mx:DataGridColumn headerText = "img" dataField = "img" / >
    < / mx:columns >
    < / mx:DataGrid >

    < / s:TitleWindow >

    It should work fine if you did changes properly. You will see directly the _dataid of the property which you type titleWindow. through code intellisense.

    As because you stated a public variable it must defenitely be accessible for the titleWindow instance. Please cross-check you do not have something wrong.

    Thank you

    Jean Claude

  • Question about Drag and Drop using DataGrid controls

    I use two DataGrids, each has a different type of object so that you can imagine when you drag - move into the other it causes an error in the cause the objects are not the same.
    I already managed to do this work, on the dragDrop event, I stop the default behavior of the event by the preventDefault () method, this way I can convert manually one object in another and then add it to the target of DataGrid.
    The problem is that because I stopped the default behavior of the event that remains the target DataGrid highlighted all the time (focus is on that point), so I have to do after my manual conversion object is to restore the DataGrid control to its normal state, which is what would have made the event's default behavior.

    So any ideas how to do that? restore the DataGrid control in its normal state? or perhaps restore an event so that it can continue its default behavior?

    OK I have found, after calling the preventDefault method and make my own logic, you call the method of the DataGrid hideDropFeedback () and that will do the job

Maybe you are looking for

  • Satellite C660-12V and WXP - unknown device

    Hi all I've just intsalled WinXP on Satellite C660 - 12V PSC0SE. I installed all the drivers already, but still I have a problem with a single element:ACPI\TOS6205\5 & 2730DB79 & 0What is it? I can't find the drivers.It's new C660 without operating s

  • Bladwijzers worden niet added on

    IK heb sinds kort versie Firefox/3.6.13 maar nu mijn nieuwe bladwijzers niet onder mijn & folders added on ook niet worden na close en opnieuw opstarten (colazione dat ook Nieuwbouw zou zijn like).IK heb niks geks Molfetta geen installatie rare enzo

  • HP Compaq mini reset BIOS password

    I have HP compaq mini which shows black enter password screen, then an error message of the system stopped with the code: CNU9379RZH I'll appreciate your help to solve this problem.

  • Memory Micro SD card update

    I have a motorola DEFY, which came with a built in 2 GB micro SD card. Now, I feel the need to upgrade memory for a 16 GB card. When doing this how can I make sure the transfer of applications to android market (paid and free) to the new memory card?

  • Download facetime in my Apple purchased 6 in Dubai

    I have an iphone with iOS version 9.1 without facetime 6