Implement OLAP Datagrid in flex2

Actually olap datagrid is a component in flex 3. but i want to implent this datagrid in flex 2.
If any one have any idea or any help link is avaliable in web plz send me.
Thanks in advance.
Niranjan Swain.

Can any one help me convert flex3 code of olapdatagrid to flex2 but it should not give runtime error
Thanks in advance
Niranjan

Similar Messages

  • OLAP Datagrid

    Hi All
    This is quite a general question but I was wondering if
    anyone was using the OLAP Datagrid in Flex 3.
    Also, I was wondering if the OLAP calculations (data) within
    the datagrid could be used to produce charts.
    Any experiences would be worth hearing.
    Best regards
    Versie

    Can any one help me convert flex3 code of olapdatagrid to flex2 but it should not give runtime error
    Thanks in advance
    Niranjan

  • How can I implement a datagrid like this

    I would like to implement a datagid as the attached picture. This datagrid will have some money columns and I would like to summary of money at the last row. Just only the last row.
    Thank you very much

    refer
    http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=2&postI d=11471
    http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions:_Advanced_DataGrid
    http://www.onflex.org/ted/2007/06/flex-3-wednesday-components-and-sdk.php

  • Getting NaN in Olap Datagrid

    Hi,
    I am using the olapdatagrid and am using a date field as a
    column axis. For the other axis I have an account hierarchy. For
    the measure I am using a sum aggregator.
    When aggregated the data contains 5 different dates. The
    problem is that where an account contains values for only some of
    the dates, the olapdatagrid displays NaN which looks as though
    there is an error.
    I would prefer it displayed 0 but a blank (as per the Excel
    Pivot Control) would suffice.
    Any suggestions.

    OK, actually the answer is in the documentation. You can
    apply a defaultCellString property to the datagrid. In this case I
    am choosing the value "" to have the grid show a blank.

  • Suppressing  the total row and column in OLAP datagrid

    I have created an OLAPDatagrid and everything looks fine
    except that I don't want to show the '(All)' row and column in the
    grid. Is there a way to suppress them?
    Thanks,
    Fred

    Instead of using members() in the query use children() for
    the attribute/hierarchy.

  • Best way to implement DataGrid in JSP

    Hi,
    Can anyone please guide me as to what is the best way to implement a DataGrid in JSP ?
    Thanks in advance.
    -Sharada

    Thanks James.
    I guess I can use the JSP Datagrid taglib as well.
    My main purpose is to have the functionality of updating the cells, resetting cells, ability to perform aggregate of rows and columns.
    Also, I have another table which will have rows that are an aggregate of all the rows in above datagrid.
    Please let me know if you have any other ideas.
    Thanks,
    Sharada

  • Smooth scrolling in mx:Datagrid

    Hi All,
    I am implementing a datagrid in my extension for Illustrator CS5, 6. I want to have smooth scrolling in it as there are images that are displayed in the grid. I am using an ItemRenderer for displaying images. It has one column. I searched the net and came across this blog by Alex Harui.
    This example is for List. I wanted it for datagrid. I overrode my datagrid scrollhandler and placed the code from the above example. Everything works fine except the up scroll. If I drag the scroll bar up/down, it works fine. If I scroll down by mouse clicks, it works fine. But, if I scroll up by mouse clicks, the scroll bar scrolls fine, but the grid view isn't updated. The grid view just repeats the images like in a loop. I am unable to understand.
    Can anyone guide me?
    Thanks!

    I changed the item renderer to just include label. But still no change, the up scroll is just not working. Can anyone guide me here? I am stuck.
    Thanks!

  • Item renderer in datagrid with actionscript

    Hi
    I want to implement a datagrid similar to the one given int
    the starting flex examples but in actionscript. I am having a
    problem with the itemRenderer. I can't figure it out how I cam
    create a imagerender in a datagridcolumn.
    My code is:
    var dataG:DataGrid = new DataGrid();
    dataG.dataProvider = xmlList;
    var coluna:DataGridColumn = new DataGridColumn();
    coluna.dataField="nome";
    coluna.headerText="Title";
    var coluna2:DataGridColumn = new DataGridColumn();
    coluna2.dataField="thumbnail";
    coluna2.headerText="Title";
    var imagem:Image = new Image();
    imagem.height = 75;
    imagem.source = "../tb/"+instrumentos.thumbnail+".jpg";
    //HERE RELIES MY PROBLEM -HOW TO ASSOCIATE AN IMAGE TO THE
    ITEM RENDERER
    coluna2.itemRenderer = new ClassFactory(imagem);
    var lalala:Array = new Array();
    lalala.push(coluna);
    lalala.push(coluna2);
    dataG.columns = lalala;
    thanks in advance

    "jahh_drum" <[email protected]> wrote in
    message
    news:ghcs5u$p2d$[email protected]..
    > Hi
    >
    > I want to implement a datagrid similar to the one given
    int the starting
    > flex
    > examples but in actionscript. I am having a problem with
    the itemRenderer.
    > I
    > can't figure it out how I cam create a imagerender in a
    datagridcolumn.
    >
    > My code is:
    >
    > var dataG:DataGrid = new DataGrid();
    > dataG.dataProvider = xmlList;
    >
    > var coluna:DataGridColumn = new DataGridColumn();
    > coluna.dataField="nome";
    > coluna.headerText="Title";
    >
    > var coluna2:DataGridColumn = new DataGridColumn();
    > coluna2.dataField="thumbnail";
    > coluna2.headerText="Title";
    >
    >
    > var imagem:Image = new Image();
    > imagem.height = 75;
    > imagem.source = "../tb/"+instrumentos.thumbnail+".jpg";
    >
    > //HERE RELIES MY PROBLEM -HOW TO ASSOCIATE AN IMAGE TO
    THE ITEM
    > RENDERER
    > coluna2.itemRenderer = new ClassFactory(imagem);
    >
    > var lalala:Array = new Array();
    > lalala.push(coluna);
    > lalala.push(coluna2);
    >
    > dataG.columns = lalala;
    ClassFactory takes a class, not an instance.
    Try something like:
    foo:ClassFactory = new ClassFactory(Image)
    foo.properties= {height=75,
    source:"../tb/"+instrumentos.thumbnail+".jpg"};
    coluna2.itemRenderer = foo;
    Note that using a ClassFactory this way will give you the
    same image in
    every renderer to start out with. However, I believe that
    image
    itemRenderers by default will take their source from the data
    property when
    that gets set.
    HTH;
    Amy

  • Help required on Struts-Datagrid

    Hello All,
    I am seeking for suggestions on how can one fix the header/column-names in Struts-Datagrid.
    In my jsp , I have implemented struts-datagrid and showing many rows at a time.
    While scrolling the page , the column-names/header of the datagrid also scroll up and down and do not remain visible to the user.
    Is there any way to fix the column-name/header on the top of datagrid?
    Kindly suggest any solution.
    Thanks
    -Mukul

    Hi
    I have neither used display tag or logica iterator.its an normal inplementaion.
    I have the peace of code to show you how i have implemented it with pagination.
    <layout:pager maxPageItems="8" sessionPagerId="" linksLocation="top">
    <layout:datagrid property="" indexId="i" styleClass="DATAGRID" model="datagrid" multipleSelectionAllowed="false">
    <layout:datagridColumn title="" property="" width="150" maxlength="15" styleClass="NORMAL" mode="E,I,P"/>
    <layout:datagridColumn title="" property="" width="620" maxlength="15" styleClass="NORMAL" mode="E,I,P"/>
    <layout:datagridCheckbox title="" property="" onchange=""/>
    </layout:datagrid>
    </layout:pager>     
    thanks & regards
    Praveen

  • Copy/paste full row, full column, a cell on datagrid using MVVM?

    What is the best way to implement on datagrid? As I am new on this, I had some researches but I am confused because there are some complicated implementations and easy ones? I try to understand the best way.
    Adding simply selection mode and selection Unit doesnt help. Because it only copies the row but I cant paste it simply as a new row.
     SelectionMode="Extended" SelectionUnit="FullRow" >
    this approach in the article looks old to me. Not sure if there is anything new and much easier with newest framework. I am using MVVM light in my project.
    Attached is the sample project similar to my original project. can you please recommend me the best way for the following?
    - Full Row(s) copy-paste
    -1 or multiple columns copy-paste (optional)
    - cell copy-paste
    "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it."

    I found the code out my project.  I last looked at this back in 2011.
    This is a custom control inheriting from datagrid.
    I don't recall where I got this code from originally.
    public class CustomDataGrid : DataGrid
    static CustomDataGrid()
    CommandManager.RegisterClassCommandBinding(
    typeof(CustomDataGrid),
    new CommandBinding(ApplicationCommands.Paste,
    new ExecutedRoutedEventHandler(OnExecutedPaste),
    new CanExecuteRoutedEventHandler(OnCanExecutePaste)));
    #region Clipboard Paste
    private static void OnCanExecutePaste(object target, CanExecuteRoutedEventArgs args)
    ((CustomDataGrid)target).OnCanExecutePaste(args);
    /// <summary>
    /// This virtual method is called when ApplicationCommands.Paste command query its state.
    /// </summary>
    /// <param name="args"></param>
    protected virtual void OnCanExecutePaste(CanExecuteRoutedEventArgs args)
    args.CanExecute = CurrentCell != null;
    args.Handled = true;
    private static void OnExecutedPaste(object target, ExecutedRoutedEventArgs args)
    ((CustomDataGrid)target).OnExecutedPaste(args);
    /// <summary>
    /// This virtual method is called when ApplicationCommands.Paste command is executed.
    /// </summary>
    /// <param name="args"></param>
    protected virtual void OnExecutedPaste(ExecutedRoutedEventArgs args)
    // parse the clipboard data
    List<string[]> rowData = ClipboardHelper.ParseClipboardData();
    bool hasAddedNewRow = false;
    // call OnPastingCellClipboardContent for each cell
    int minRowIndex = Items.IndexOf(CurrentItem);
    int maxRowIndex = Items.Count - 1;
    int minColumnDisplayIndex = (SelectionUnit != DataGridSelectionUnit.FullRow) ? Columns.IndexOf(CurrentColumn) : 0;
    int maxColumnDisplayIndex = Columns.Count - 1;
    int rowDataIndex = 0;
    for (int i = minRowIndex; i <= maxRowIndex && rowDataIndex < rowData.Count; i++, rowDataIndex++)
    if (CanUserPasteToNewRows && CanUserAddRows && i == maxRowIndex)
    // add a new row to be pasted to
    ICollectionView cv = CollectionViewSource.GetDefaultView(Items);
    IEditableCollectionView iecv = cv as IEditableCollectionView;
    if (iecv != null)
    hasAddedNewRow = true;
    iecv.AddNew();
    if (rowDataIndex + 1 < rowData.Count)
    // still has more items to paste, update the maxRowIndex
    maxRowIndex = Items.Count - 1;
    else if (i == maxRowIndex)
    continue;
    int columnDataIndex = 0;
    for (int j = minColumnDisplayIndex; j <= maxColumnDisplayIndex && columnDataIndex < rowData[rowDataIndex].Length; j++, columnDataIndex++)
    DataGridColumn column = ColumnFromDisplayIndex(j);
    column.OnPastingCellClipboardContent(Items[i], rowData[rowDataIndex][columnDataIndex]);
    // update selection
    if (hasAddedNewRow)
    UnselectAll();
    UnselectAllCells();
    CurrentItem = Items[minRowIndex];
    if (SelectionUnit == DataGridSelectionUnit.FullRow)
    SelectedItem = Items[minRowIndex];
    else if (SelectionUnit == DataGridSelectionUnit.CellOrRowHeader ||
    SelectionUnit == DataGridSelectionUnit.Cell)
    SelectedCells.Add(new DataGridCellInfo(Items[minRowIndex], Columns[minColumnDisplayIndex]));
    /// <summary>
    /// Whether the end-user can add new rows to the ItemsSource.
    /// </summary>
    public bool CanUserPasteToNewRows
    get { return (bool)GetValue(CanUserPasteToNewRowsProperty); }
    set { SetValue(CanUserPasteToNewRowsProperty, value); }
    /// <summary>
    /// DependencyProperty for CanUserAddRows.
    /// </summary>
    public static readonly DependencyProperty CanUserPasteToNewRowsProperty =
    DependencyProperty.Register("CanUserPasteToNewRows",
    typeof(bool), typeof(CustomDataGrid),
    new FrameworkPropertyMetadata(true, null, null));
    #endregion Clipboard Paste
    I used to be a points hound.
    But I'm alright nooooooooooooooooooooooooooooOOOOOWWWW !

  • Flex2.0 embedded in jsp page 

    Hi,
    I'm developping a web application using jsp nad I want to
    include a flex2.0 datagrid inside my jsp page. is that possible?
    and how? In flex1.5 I know how to do ,but in flex 2.0,I can't!
    Thank s

    I mean's i want to desgin a datagrid user flex2.0,and let it
    in jsp .do you know

  • Datagrid with a datadriven combox

    Hi,
    I would like to implement a datagrid with a datadriven combox.
    The database should store "only" values, but should show a different labeltext in the grid.
    When the users load this Grid the stores values should be uses to set the comboboxes.
    That sounds easy but I haven't found a easy way to implement that!
    1.) I need to overrite the "save column" function of the generated code from FB4b1, so that the shown labeltext is not saved, but its db-values.
    How can I do this?
    2.) I need to build the combox in the datagrid, but there is nnothing like"combox.value="myValID" ( that would be all in vb.net)
    Do I have to loop manually over the selectedIndex until I found my savedValue?
    Like
    http://www.boyzoid.com/blog/index.cfm/2006/11/22/Flex-Custom-Components-and-Custom-Methods
    Is there an easier way to do this?
    Thanks for any pointers!
    Martin Zach

    Hi Martin,
    Couple of questions
    Are you using LCDS as your backend?
    Are you using the Adobe data modeler and deploying your model on to your LCDS server?
    If so, then you could try something called derived properties, which actually do not require a database column and you could compute its value based on the value of a existing column.
    You can find more info about this on
    http://labs.adobe.com/technologies/livecycle_dataservices3/videos/
    http://labs.adobe.com/technologies/livecycle_dataservices3/
    Thanks
    -Sunil

  • FB4b1: Datagrid with data driven Combobox

    Hi,
    I would like to implement a datagrid with a datadriven combox in FB4b1.
    The database should store "only" values, but should show a different labeltext in the grid.
    When the users load this Grid the stores values should be uses to set the comboboxes.
    That sounds easy but I haven't found a easy way to implement that!
    1.) I need to overrite the "save column" function, so that the shown labeltext is not saved, but its db-values.
    How can I do this?
    2.) I need to build the combox in the datagrid, but there is nnothing like"combox.value="myValID" ( that would be all in vb.net)
    Do I have to loop manually over the selectedIndex until I found my savedValue?
    Like
    http://www.boyzoid.com/blog/index.cfm/2006/11/22/Flex-Custom-Components-and-Custom-Methods
    Is there an easier way to do this?
    Thanks for any pointers!
    Martin Zach

    Each item in comobobox has a label and a data value associated with it.
    The following should work if you were to access data of a selected combo box item, without looping through the items. If it is a string value then
    mylabel.text = myCombo.selectedItem.data.toString() would show / store the associated data with the combobox item for the label text, you can replace mylabel with the datagrid's dataprovider for your requirements.
    Hope this helps
    -Sunil

  • OLAP Cache for Query Performance

    Hi Experts,
    I have below 2 Questions before we implement OLAP Cache for our Queries:
    1) We have 15 imporatant queries - which do NOT have any variable/selection screen.
    (question here is will it work for those kind of queries which dont have any selection screen/ variant ? ) --> client wants to prime the cache for few queries which dont have variable screen.
    In this case, say if data is later filtered on any CHAR , will it take the data from Cache?
    2) I have a query which initially will have few characteristics in the drill down when we first execute and users would be drilling down on many other characteristics after that. So if I want to fill OLAP cache for this query then what is the best way so that each drilldown in the query gets data from cache.
    Thank you,
    -Su

    Hi Raghavendra,
    Thanks for your response.
    For first Question, Do you mean , even if we do not have any Selection varaibale on Query--we still can fill OLAP cache for it for its all values (i.e. No selection means "*") ?
    If this is the case, then what we need to defile in General Precalculation (Variable assignment) while creating a new setting for the query.
    Thanks,
    -Su

  • Using Oracle OLAP

    Our BI database is a pure star-schema (no snow-flake) and we use OWB to define it and load (ETL) from the source systems. We also define hand-coded materialized views for data aggregation.
    Now we are thinking of using Oracle OLAP for:
    - pre-aggregation
    - forecasting analysis
    - performance
    Our db is small right now but we expect it to grow into terabytes.
    - Would OLAP server system sit on top of our current BI or would we have to build it one time from the data in BI db and discard the contents of BI database later?
    - From docs, it seems ROLAP is more suited for large dbs than MOLAP. With our db, would it be feasible for us to use MOLAP?
    - Does ROLAP requires definining materialized view? If yes, how is it different than our current BI database?
    - Can OLAP sit on our source database (OLTP db)? or does the source data come from a star schema?
    As you can see, I am unable to understand what is the best way to implement OLAP server in our situation. Is there a "best practice" or "definitive guide" that I can refer to?
    Any related info. is more than welcome.
    Prashant.

    Prashant, DW environments are generally organized into multiple areas, some of which you've identified:
    1. Source systems which provide data for the data warehouse
    2. The "data warehouse" itself - a central repository for all the transactions, etc. collected from the source systems. Main function is to STORE all of the data in a clean, consistent manner
    3. Possibly multiple datamarts that organize the base DW data into specific subsets that are meaningful to the end users. Can be ROLAP, MOLAP, HOLAP, etc.
    Each of these tiers has different goals, which usually means they need separate architectures and/or hardware:
    1. Don't put BI systems on top of your OLTP system...if a user writes a run-away query, it can bring down your transaction processing systems.....
    2. DW can either be in 3nf or dimensional form, but its main job is to capture the low level transactions and make sure they conform to standards (including data quality, etc.) Users SOMETIMES run queries directly against DW tables, but once the DW starts getting big (i.e. terabytes) you probably don't want users hitting directly against it
    3. OLAP datamarts are almost always in dimensional form, but only contain subsets of data from the DW. These are designed to hit very specific business problems, and typically are at a much higher level of detail than the DW.
    Hope this helps. DON'T PUT YOUR DW or BI cubes on the OLTP system!!!
    Scott

Maybe you are looking for

  • Problem convert word 2007 acrobat 8 graphics to pdf

    Having difficulty converting certain graphics from Word on Windows 7 Professional PC to Adobe PDF. The same problem exists on the same PC regardless of whether Word 2007 or Word 365 is the originating software. So it is not a problem with the version

  • Smart playlists not working on my ipod touch?

    my smart playlists (such as top 25 most played, recently added etc) are not working on my ipod touch 3rd gen 64gb. they are syncing the correct info on my other ipod nano, but on my ipod touch they are coming up with different songs. this is very ann

  • Developer Certificate

    Good afternoon, I am researching how to set up and configure about 30 different Apple devices in my network.  From my research, I have found that the method I believe I am going use, is using a Mac Mini with OS X Server, and utilizing the Configurato

  • Materialized Views created using ROLLUP

    Not sure if this one is best posted to a general Oracle forum, or even to the Discoverer Forum, but it's more to do with Data Warehousing so here goes... 1. If I create a materialized view, either with or without OWB, do I also need to separately cre

  • Best way to migrate between servers Server 2012

    I want to image or clone my old server and install on the new server. I was looking to go the route of ImageX/DISM and clone the old one, then burn the image to a DVD. Am I on the right track? I tried using Windows AIK for Windows 7, but it gives me