Overload function "value data" problem on DataGrid Renderer button

Hi all, I hope it is something simple.

I have a class that extends the mx.controls.Button mx.core.IDataRenderer and implements.  I need to set the icon of the button whenever the Data property has the value of the data grid.  My problem is that my set/get overloaded function of data are never called (I reinforced with the debugging code).  Instead the set/get in Container.as functions (3.4 the Flex SDK kit) called.

Here's the Basic code:

exportButtonRenderer.as
package controls
{
import flash.events.Event;
import flash.events.MouseEvent;

Import mx.controls.Button;
Import mx.core.IDataRenderer;
Import mx.controls.dataGridClasses.DataGridListData;
Import mx.controls.listClasses.BaseListData;
Import mx.events.FlexEvent;
Import mx.controls.Alert;

Import model.descriptors.compDescriptor;
Import events.exportClickedEvent;

public class exportButtonRenderer extends button implements IDataRenderer
{
Embed your icons
[(Embed(source='/assets/icons/export.png')]
[Bindable]
public static var imageExport: Class;

[(Embed(source='/assets/icons/blank.png')]
[Bindable]
public static var imageBlank: Class;

public void exportButtonRenderer()
{
Super();
}

private var _listData:DataGridListData;
override public function get listData (): BaseListData
{
Return _listData;
}

override public function set listData(value:BaseListData):void
{
_listData = DataGridListData (value);
}

private var _data:Object;
public override function get data (): Object
{
return _data;
}

override public function set data(value:Object):void
{
_data = value;
}

override the clickHandler(event:MouseEvent):void function
{

super.clickHandler (event);
}
}
}

Now I know that I am using the Flexlib TreeGrid and not a standard DataGrid but when I trace through all the code all code firing the set/get functions is in any case the DataGrid control.

Here is the my def grid in my main application mxml:

Header 1
< flexlib:TreeGrid
ID = "MKTXGrid".
dragEnabled = 'false' sortableColumns = 'false' showRoot = "false".
(disclosureClosedIcon="@Embed(source='/assets/icons/arrow_right.png')".
(disclosureOpenIcon="@Embed(source='/assets/icons/arrow_down.png')".
(folderOpenIcon="@Embed(source='/assets/icons/psd.png')".
(folderClosedIcon="@Embed(source='/assets/icons/psd.png')".
Click = "MKTXGrid_clickHandler (Event)" "
doubleClickEnabled = "true" doubleClick = "MKTXGrid_doubleClickHandler (event)" left = "0" right = "0" top = low "0" = "16" > "

< flexlib:columns >
< flexlib:TreeGridColumn dataField = "Name" headerText = "Name" minWidth = "200" width = "200" editable = "true" / >
< mx:DataGridColumn dataField = 'ExportName"headerText ="Export Name"/ >
< mx:DataGridColumn dataField = "Export" headerText = "Export" width = "50" minWidth = "20" resizable = "false" >
< mx:itemRenderer >
< mx:Component >
< mx:Box horizontalAlign = "center" width = "100%" verticalScrollPolicy = "off" horizontalScrollPolicy = "off" >

(< contrôles: exportButtonRenderer label = «Exporter» icon="@Embed(source='assets/icons/export.png')" width = "12" height = "12" useHandCursor = "true" >
< controls: Click >
<! [CDATA]
Import events.exportClickedEvent;
var e:exportClickedEvent = new exportClickedEvent();
e.itemData = data;
dispatchEvent (e);
[]] >
< / controls: Click >
< / controls: exportButtonRenderer >
< / mx:Box >
< / mx:Component >
< / mx:itemRenderer >
< / mx:DataGridColumn >
< / flexlib:columns >
< / flexlib:TreeGrid >


Nothing too special happens.

I know it can be done, I've seen examples in the SDK:

http://opensource.Adobe.com/svn/opensource/Durango/trunk/ExternalFlexTools/com/dougmccune/ containers/accordionClasses/AccordionHeader.as

Either incidentally, I reinforced with the code in the TreeGridItemRenderer class in Flexlib which works correctly and the class def starts like this:

TreeGridItemRenderer.as
import flash.display.DisplayObject;
to import flash.display.InteractiveObject;
import flash.display.Shape;
import flash.display.Sprite;
import flash.events.Event;
import flash.events.MouseEvent;
to import flash.geom.Point;
import flash.geom.Rectangle;

Import flexlib.controls.TreeGrid;

Import mx.controls.Image;
Import mx.controls.dataGridClasses.DataGridListData;
Import mx.controls.listClasses.BaseListData;
Import mx.controls.listClasses.IDropInListItemRenderer;
Import mx.controls.listClasses.IListItemRenderer;
Import mx.core.IDataRenderer;
Import mx.core.IFlexDisplayObject;
Import mx.core.IToolTip;
Import mx.core.SpriteAsset;
Import mx.core.UIComponent;
Import mx.core.UITextField;
Import mx.events.FlexEvent;
Import mx.events.ToolTipEvent;
Import mx.events.TreeEvent;
Import mx.managers.ILayoutManagerClient;
Import mx.styles.IStyleClient;

SerializableAttribute public class TreeGridItemRenderer extends UIComponent
implements IDataRenderer,
IDropInListItemRenderer,
ILayoutManagerClient,
IListItemRenderer
{
...

Any help would be great!

It's because you put your component in a box.  The DataGrid control is affecting .data property of the box and without code is on your component.  You shouldn't really need box.  You can override updateDisplayList to Center your button instead.

Alex Harui

Flex SDK Developer

Adobe Systems Inc..

Blog: http://blogs.adobe.com/aharui

Tags: Flex

Similar Questions

  • function (value = &gt; parameter) problem...

    I created the example function:
    < em > < color = "#808080" > create or replace function ttt (number of p) return number
    is
    Start
    return p + 1;
    end;
    < / police > < /em >
    < p >
    < color = "#000000" > and I wonder why
    < / make >
    < em > < color = "#999999" > start
    dbms_output.put_line (ttt (p = & gt; 2));
    end; < / make >
    < /em >
    works, but

    < color = "#999999" > < em > select ttt (p = & gt; 2) twice; < /em >
    < / make >
    doesn't work.

    Can someone explain to me?

    Pawel
    < /p >

    Hello

    See this link [http://decipherinfosys.wordpress.com/2008/03/04/using-named-notations-in-functions-in-oracle-11g/] I think it could be useful.

    Kind regards

  • Problem using an overloaded function

    I try to use the DBMS_OBFUSCATION_TOOLKIT. DESGetKey overload function.

    I use the following call:

    DBMS_OBFUSCATION_TOOLKIT. DESGetKey (v_encrypt_seed, v_encrypt_key);

    The error I get is:

    PLS-00307 too many statements of "DESGETKEY" corresponds to this call

    There are two statements that match, one using the RAW data type and the other using the VARCHAR2 data type. I am using the version of VARCHAR2. How to set my call this Oracle lets you know that I try to use?

    DBMS_OBFUSCATION_TOOLKIT. () DESGetKey
    seed in RAW,
    RAW key);

    DBMS_OBFUSCATION_TOOLKIT. () DESGetKey
    seed_string IN VARCHAR2,
    key OUT VARCHAR2);

    Help would be very appreciated.

    Called use parameter notation:

    DBMS_OBFUSCATION_TOOLKIT.DESGetKey(
            seed_string => v_encrypt_seed
          , key => v_encrypt_key);
    
  • Problem with the rendering of JProgressBar in JTable

    I have some problems with the rendering of JProgressBar in JTable. In the case of several lines, when a progress bar is updated, and its text is changing, then he painted all the progress bars in this column.

    Here is my code I used to create the table:
    --------------------------------------------------------------------------------------
    JTable convertTable = new JTable(convertTableModel) {
    
                public Component prepareRenderer(TableCellRenderer renderer,
                        int rowIndex, int vColIndex) {
                    Component c = null;
                    if (renderer != null) {
                        c = super.prepareRenderer(renderer, rowIndex, vColIndex);
    
                        if (vColIndex == INDEX_CONVERT_STATUS) {
                            //System.out.println("c = "+c.getClass());
                            if(c instanceof JProgressBar) {
                                //System.out.println("inside = ");
                                c.setBackground(Color.BLUE);
                            }
                        }
                    }
                    return c;
                }
    
                public boolean isCellEditable(int rowIndex, int mColIndex) {
                    if (mColIndex == INDEX_CONVERT_SELECT) {
                        return true;
                    } else if (mColIndex == INDEX_CONVERT_STATUS) {
                        return false;
                    } else {
                        return false;
                    }
                }
    
                /*
                 * JTable uses this method to determine the default renderer/
                 * editor for each cell.  If we didn't implement this method,
                 * then the last column would contain text ("true"/"false"),
                 * rather than a check box.
                 */
                public Class getColumnClass(int c) {
                    if (getValueAt(0, c) != null) {
                        return getValueAt(0, c).getClass();
                    }
                    return null;
                }
            };
    --------------------------------------------------------------------------------------

    Then I applied on this table rendering engine

    ---------------------------------------------------------------------------------------
    // Applying JProgressBar Renderer for convert table
            TableColumn col = convertTable.getColumnModel().getColumn(INDEX_CONVERT_STATUS);
            ProgressBarRenderer progressBarRenderer = new ProgressBarRenderer();
            col.setCellRenderer(progressBarRenderer);
    ---------------------------------------------------------------------------------------

    Class code ProgressBarRenderer is as follows:
    ---------------------------------------------------------------------------------------
    public class ProgressBarRenderer extends JProgressBar implements TableCellRenderer {
    
        private Hashtable ht = new Hashtable();
    
        public ProgressBarRenderer() {
            super(0);
            this.setMinimum(0);
            this.setMaximum(100);
            this.setStringPainted(true);
            this.setBorderPainted(true);
    
            UIDefaults defaults = UIManager.getDefaults();
            Font font = new Font("Arial", Font.BOLD, 12);
            defaults.put("ProgressBar.font", font);
        }
    
        public void setRowEnabled(int row, boolean enabled) {
            ht.put(row, enabled);
        }
    
        public void setForeground(Color c, int row) {
            //System.out.println("setString ht = " + ht.size() + "  row= " + row + "  Selected= " + (Boolean) ht.get(row) + " color= " + c);
            if (ht.isEmpty()) {
                this.setForeground(c);
            } else if (ht.size() == 1) {
                this.setForeground(c);
            } else if ((Boolean) ht.get(row)) {
                this.setForeground(c);            
            } else {
                this.setForeground(c);
            }
        }
    
        public void setString(String s, int row) {
    
            //System.out.println("setString ht = " + ht.size() + "  row= " + row + " text= " + s);
            if (ht.isEmpty()) {
                this.setString(s);
            } else if (ht.size() == 1) {
                this.setString(s);
            } else if ((Boolean) ht.get(row)) {
                this.setString(s);
            } else {
                this.setString(s);
            }
    
        }
    
        @Override
        public Component getTableCellRendererComponent(JTable table,
                Object value, boolean isSelected, boolean hasFocus, int row, int column) {
            
            //System.out.println("getTableCellRendererComponent = " + table);
            //System.out.println("Renderer ht = " + ht.size() + "  row= " + row + "  Selected= " + (Boolean) ht.get(row));
            
            if (ht.isEmpty()) {
                return this;
            } else if (ht.size() == 1) {
                return this;
            } else if ((Boolean) ht.get(row)) {
                return this;
            } else {
                return null;
            }
        }
    }
    ---------------------------------------------------------------------------------------

    I add the next line and rendered the progress column is follows:
       convertTableModel.addRow(new Vector());
       ((ProgressBarRenderer) convertTable.getCellRenderer(row, INDEX_CONVERT_STATUS)).setRowEnabled(row, false);
    ---------------------------------------------------------------------------------------

    When I add the first row, it works fine, but when I add the second row, he painted the entire column.

    Naturally, you will have problems if you set a string or a color of a table cell value when the class of the column is declared as integer. As I have already said, you need to spend some time with the tutorials.

    import java.awt.BorderLayout;
    import java.awt.Component;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.util.Random;
    import javax.swing.*;
    import javax.swing.table.DefaultTableCellRenderer;
    import javax.swing.table.TableCellRenderer;
    
    public class ProgressBarTableCellRendererExample {
    
      Random random = new Random();
      JTable table;
    
      public static void main(String[] args) {
        SwingUtilities.invokeLater(new Runnable() {
    
          public void run() {
            new ProgressBarTableCellRendererExample().makeUI();
          }
        });
      }
    
      public void makeUI() {
        table = new JTable(10, 1) {
    
          @Override
          public boolean isCellEditable(int row, int column) {
            return false;
          }
        };
        for (int i = 0; i < table.getRowCount(); i++) {
          table.setValueAt(0, i, 0);
        }
        table.getColumnModel().getColumn(0).
                setCellRenderer(new ProgressBarTableCellRenderer());
    
        JButton button = new JButton("Increment");
        button.addActionListener(new ActionListener() {
    
          public void actionPerformed(ActionEvent e) {
            increment();
          }
        });
    
        JFrame frame = new JFrame();
        frame.add(new JScrollPane(table), BorderLayout.CENTER);
        frame.add(button, BorderLayout.SOUTH);
    
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setSize(400, 400);
        frame.setLocationRelativeTo(null);
        frame.setVisible(true);
      }
    
      private void increment() {
        for (int i = 0; i < table.getRowCount(); i++) {
          Object value = table.getValueAt(i, 0);
          if (value instanceof Integer) {
            Integer oldValue = (Integer) table.getValueAt(i, 0);
            int newValue = Math.min(100, oldValue + random.nextInt(25));
            switch (newValue) {
              case 13: // and its multiples
              case 26:
              case 39:
              case 52:
              case 65:
              case 78:
              case 91:
                table.setValueAt("Failed", i, 0);
                break;
              case 100:
                table.setValueAt("Completed", i, 0);
                break;
              default:
                table.setValueAt(newValue, i, 0);
            }
          }
        }
      }
    
      private class ProgressBarTableCellRenderer
              extends JProgressBar implements TableCellRenderer {
    
        private TableCellRenderer stringRenderer =
                new DefaultTableCellRenderer();
    
        public Component getTableCellRendererComponent(JTable table,
                Object value, boolean isSelected, boolean hasFocus,
                int row, int column) {
          if (value instanceof Integer) {
            setValue((Integer) value);
            return this;
          } else {
            return stringRenderer.getTableCellRendererComponent(table,
                    value, isSelected, hasFocus, row, column);
          }
        }
        // Override void validate(), invalidate(), revalidate(), repaint()
        // and all overloads of firePropertyChange(...) as no-ops
        // for efficiency
      }
    }
    

    DB

  • Is function like the function of date and time picker in the ICB 8.5?

    I need the function as "date and time picker control" used in activeX, but my operating system (windows 7 Bits without office software) is not the «Microsoft date controller» and time picker I am looking article in the internet which mention this register the MSComctl2.ocx in the windows\system32, but he could not operator in my operating system (it's not allow to save the controller). Help me, please.

    Already, I discovered that the problem on the service of DTP in the 64-bit Windows 7 could not used. Because, the DTP is 32 bits, it should use the administrator to register the 'mscomct2.ocx file' which must be replace in the % windows/SysWOW64 and used the 'mscomct2.ocx regsvr32.exe"in console windows.

  • Custom (by date) in a DataGrid sort

    So I have a data grid component connected to a provider of data like so:

    var weekData:XML = / / some xml loaded and more soon...

    var weekGrid:DataGrid = new DataGrid();

    var dataProvider:DataProvider = new DataProvider();

    for each {var entry: XML (in weekData)}

    dp.addItem ({event:entry.title, date: FormatDate.format (new Date (entry.@startDate), 5), data:entry.@startDate});})

    }

    The title column, it's just what you think. The date Colum is actually a format such as may 2012 or 2013 Feb. And the "column" of data is not displayed in the dataGrid control that it is the 'key' to sort by date. It contains the getTime() value date as 1328515200000. So, who's going to date sort just a case of with the appropriate Array.DESCENDING Array.NUMERIC if necessary.

    I found that if I do this:

    weekGrid.dataProvider.sortOn ("data", Array.NUMERIC)

    weekGrid.invalidate ();

    It works and the grid is sorted - IF I have any other button to click to make this code executes.

    I would like to forge with the click on the header of the grid event. As follows:

    weekGrid.addEventListener (DataGridEvent.HEADER_RELEASE, sortDataGrid);

    And I get the event and all, but obviously fireing off built-in sorting what happens after mine. And it is not what I want.

    No idea how to stop this and allow my perferred sort taking place?

    Found a smoother response.

    weekGrid.addEventListener (DataGridEvent.HEADER_RELEASE, sortDataGrid);

    {sortDataGrid(e:DataGridEvent):void funciton

    var dg:DataGrid = e.target as DataGrid;

    {if(DG.sortIndex==1)}

    e.preventDefault ();

    do what I want.

    }

    }

  • Problem with DataGrid scroll... Does not fit in the Parent container...

    Hi all

    I have a module and module contains only a datagrid. I add this module to dynamically navigation tab in the next index. I use Text as a converter of item in the DataGrid, and the row height will change according to the diplyed of the text data. When the data fill in datagrid datagrid beyond layout containers. That is, height is not suitable in the parent container. I use the canvas as parent container... Please find below the attached photos and you will get to know what is my problem?

    problem.jpg

    problem2.jpg

    Please, help me out of this problem... It is urgent...

    I don't know what your code looks like, so it is difficult to say what exactly

    It is.

    It may be that you do not assign minHeight = '0' on the DataGrid control.

    Validation code a simple test case will help us to understand what is wrong.

  • My system restore function has a problem, error: AppName: rstrui.exe AppVer.5.1.2600.5512 ModName: c:\windows\system32\srrstr.dll

    original title: my system restore function has a problem

    my system restore function has a problem

    error signature

    AppName: rstrui.exe AppVer.5.1.2600.5512 ModName: c:\windows\system32\srrstr.dll
    ModVer.5.1.2600.5512 offset 00009836

    What can I do to recover my system restore feature?

    I was going to do an installation of hotfix os from the orignal disc but got waring the operating system installed is newer than the one on the disk (I have installed the latest service packs)

    Hello

    1 did you changes to the software to the computer?
    2. what happens when you try to use the system restore? You get the error message?

    You get this error message if you already have a newer version of the operating system and then if you try to install an older version on it.

    Method 1.
    Temporarily disable the security software installed on the computer and check if the problem persists.
    Important note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you need to disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network, while your antivirus software is disabled, your computer is vulnerable to attacks.
     
    Method 2.
    Please check if you are facing the same question when working in safe mode.
    a. restart your computer.
    b. when the computer starts, you will see your computer hardware are listed. When you see this information tap the F8 on your keyboard key repeatedly until you are presented with the screen Windows XP Advanced Startup Options.
    c. using the arrow keys, select the desired option of Mode without failure.
    d. press the Enter key on your keyboard to start in safe mode of Windows XP.
    e. when Windows starts, try using System Restore and verify.
     
    Hopt this helps.

  • Problem with the rendering of the image in Photoshop CC2015

    Hi, I just bought PC especially for the Photoshop works (usually use Mac) and I have a serious problem with image rendering powered by the device driver (nvidia GTX980). Lines and other parts of my design are strongly serrated (it looks like the poor antialiasing) - even in an excerpt from 1:1 (100%), so it's really invisible before. Could you look at my screenshot and try to understand what is happening? In this State, it is totally useless to my job (I am perfect pixel). Help, please.

    On the screen:

    1 - view 300% of the severely affected hardware rendering (screenshot of view 100%) - on the left you see the battery icon?

    2. right - 300% view showing how it should look like in real life.

    2016-01-29 (3).png

    OK, I just found the solution. It's pretty simple and obvious in some respects if PS is using OpenGL as a main renderer, setting 3D graphics card will have a significant impact. Sailing... I just need to disable antialiasting FXAA in NVidia Control Panel. Now everything looks good as is.

    Problem solved.

  • Flex4 DataGrid - mouse outside the data keeps scrolling DataGrid grid

    Hello

    the DataGrid control has the following behavior: when you click on the DataGrid control and move the mouse upwards on top of it and hold the mouse on top of it, the guard UPWARDS scrolling DataGrid control. When you move the mouse under the bottom of the data grid, the DataGrid scroll guard DROP.

    I am optimize my app for touch devices, and when the user moves his finger on the DataGrid from the bottom to the top, I left the DataGrid scroll in the same direction, which is in DECLINE. If the user now moves his finger beyond the upper limit of the data grid, the DataGrid changes the direction of scrolling.

    How can I avoid scrolling the DataGrid when the mouse moves outside, or how change the direction of scrolling the DataGrid?

    Thanks in advance

    LLD

    You can have to subclass DataGrid and override the dragScroll method.

  • Suspend data problems

    First of all - I am very new to SCORM, LMS, or something of the sort.  I know very, very little about it.

    We sent our module to the client in order to implement in their LMS - everything was perfectly fine, except that we received a complaint concerning our suspend data and the way in which the progression of the user is followed.  Essentially, he has not followed or follow-up in a strange way.

    Basically, all we need to ensure the follow-up is the progression of the user in the slides so that we a) they all the b) back to the module slides and continue viewing, if they interrupt their viewing of the course.

    There are quiz questions, but the answers do not need to be followed.

    My questions would be a) we filled the SCORM manifest & other options e-Leaning according to the wishes of the customer, and requiring their LMS, my assumption would be that progress and follow-up would be processed without any additional customization from us, which is a false assumption? (b) I noticed that two of our quiz questions were always reporting a quiz, they shouldn't be, we re - publish and test again, but it will be at least a day before having your comments, I wonder - could cause this issue alone suspends data problems?

    Any comment is appreciated-

    Been awhile. My apologies if this is too late or problems are solved.

    For the first part, which suspend_data customer "would see". It's a strange request, as most users have no idea what suspend_data is much less how it should look really! I suspect that you mean the results during the recovery of the lesson, it's not what you expect... and if that's the case, what is the precise, unexpected result?

    As replied, a blade be 'full' it must play along, so if you have, say, audio in there but don't expect not for audio to play through, slide out to the end, is not 'complete '...

    Quiz was being classified... How? If you Quiz slides in there, I don't think you can force them to not be classified (although maybe you can, I've never tried). If this isn't the case, Quiz slips, and they are made by hand, as you of COURSE questionnaires it is not marked to report interactions? Best way to check is which to choose

    Project > advanced interaction

    and see if one of these interactions have 'Track Score' active.

    If you can get nothing to report for the 'quiz' but can not get the slide completions to report correctly, so my suggestion is your ' c)' option. A button marked at the end that says something like "Click here to complete the lesson" often works best. A scored interaction, statement of completion and score to 100%...with as an interaction of caterpillars, they should get 100% by clicking this button. Who can also offer a way for suspend_data solve... rumors have that including caterpillars interaction can help you with questions...

    HTH!
    Erik

  • How to enter data into a DataGrid empty?

    Hello

    I wanted to use datagrid like component of a data entry. The first column is a text field, 2nd and 3rd being a drop-down list box. But until and unless there is already some data in the datagrid control, the component can be changed at all. How can I fill datagrid with these empty lines and the fields editable in them?

    Thanks for the help in advance.

    See you soon,.

    Deepak

    I was thinking about this post: http://blogs.adobe.com/aharui/2008/03/custom_arraycollections_adding.html

    Alex Harui

    Flex SDK Developer

    Adobe Systems Inc..

    Blog: http://blogs.adobe.com/aharui

  • Locate data in a datagrid

    I just added data to a datagrid control and sort the new column. Now, I want to find the new data in the datagrid control. How can I find the index of a data item in the datagrid control?
    Thank you!

    Suppose you have a collection of this table:
    var a: Array = [{make: "Toyota", model: "MR2", year: 1985, price: 2000}, {make: "Ford", model: 'Fusion', year: 2005, price: 13000}, etc..];

    and transformed into an ArrayCollection collection:
    var col: collection ArrayCollection = new ArrayCollection (a) collection;

    When sorted, getItemIndex (2) returns one of the objects of the year who has brand, model, and price fields. I * think * that's what you mean by "variable" in your case. So:

    var point: Object = col.getItemAt (2);
    trace ("make", Item.make, "Model", Item.Model, "Year", Item.Year, 'Price', Item.Price);

    You should get want you want.

  • How to use the TRUNC function with dates in the expression builder in OBIEE.

    Hello
    How to use the TRUNC function with dates in the expression builder in OBIEE.
    TRUNC (SYSDATE, 'MM') returns 1 July 2010"where sysdate is July 15, 2010 ' in SQL. I need to use the same in the expression builder in the logical layer mdb column.


    Thanks in advance

    Use it instead:
    TIMESTAMPADD (SQL_TSI_DAY, (DAYOFMONTH (CURRENT_DATE) *-1) + 1, CURRENT_DATE)

  • assignment of several providers of data to a datagrid control

    Hello

    Is there any way by which I can assign several data providers in a DataGrid? I need get the different 2 arraycollections data and assign the data to a datagrid control for a user to compare.

    -Isabelle

    The datagrid control cannot have as a dataprovider. You can combine collections into a single table before linking to your DataGrid.

Maybe you are looking for