How to use a datagrid as an excel sheet

Hi
I m new to flex.I want to use a datagrid such that it behaves as a excel sheet .So I can give every column(cell) a different formula and this can be dynamically updated every time I change the input say through a numeric stepper may be.
If code help can be provided it will be  very helpful as I m still trying to learn it.
Thanks a lot
Niki

DataGrid is not written to work as a spreadsheet.  It will be a lot of work.  I think some third-parties have done somethings like it.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui

Similar Messages

  • How to populate the Quering data into Excel sheet in Oracle

    Dear Guys,
    How to populate the Quering data into Excel sheet in oracle.
    Please provide a solution.
    Thanks & Regards,
    Senthil K Kumar

    Hi
    To make Excel sheets from sqlplus, you can use the markup html tag in sqlplus.
    Here's an example.
    Example
    <code>
    SET LINESIZE 4000
    SET VERIFY OFF
    SET FEEDBACK OFF
    SET PAGESIZE 999
    SET MARKUP HTML ON ENTMAP ON SPOOL ON PREFORMAT OFF
    SPOOL c:\test_xls.xls
    SELECT object_type
    , SUBSTR( object_name, 1, 30 ) object
    , created
    , last_ddl_time
    , status
    FROM user_objects
    ORDER BY 1, 2
    SPOOL OFF
    SET MARKUP HTML OFF ENTMAP OFF SPOOL OFF PREFORMAT ON
    SET LINESIZE 2000 VERIFY ON FEEDBACK ON
    </code>

  • How to change the cell value in Excel Sheet in WD Java?

    HI,
    I have an application which is used to upload and download excel sheet.I can upload the excel sheet through Upload UI element and also able to download the same file through Download UI.But before download I want to validate the excel sheet.If data is not proper in the excel then I have to put some comment (cell comment).I am able to read each cell value,but not ble to put any comment.Once I pt commen in the cell,the download file should display the commented in the excel sheet.
    Please let me know how to update hte excel sheet.
    Sandip

    hi Sandeep,
    I'm not sure about the HSSF apis, however, i inserted the Cell Comments using jexcel apis. There is a method setComment(java.lang.String s, double width, double height) in class WritableCellFeatures using which you can insert cell comments
    For more details refer [link|http://jexcelapi.sourceforge.net/resources/javadocs/current/docs/jxl/write/WritableCellFeatures.html]
    Abhinav

  • Using Olefield to embed an excel sheet

     

    Hi Manish,
    My answer may not be straight to the point.
    But, let me explain what I have done with my application.
    We have a similiar case here, but the difference is we are
    accessing Crystal Reports where as you are accessing Excel sheet and you
    are using OLE object where as we are using Active X. But the concept
    is going to be the same.
    Our application contains some batch process on the server which
    fills up the table in our database.
    Crystal report should access the table and get the data.
    For this we need to pass a set of parameters through Forte.
    This is acheived through the active X properties.
    I think you can map excel sheet to a data base table and fetch
    the data from there using some simple macros.
    Hope this helps you.
    Ratna K Garapati,
    Complete Business Solutions Inc.,
    Off : 248 848 2288 Ext 3464
    Res: 248 888 0775
    E-Mail : [email protected]
    -----Original Message-----
    From: Manish Shirke [SMTP:[email protected]]
    Sent: Monday, March 09, 1998 8:20 AM
    To: '[email protected]'
    Subject: Using Olefield to embed an excel sheet
    hi,
           I am trying to embed an MSExcel sheet in a forte application. I
    have
    been able to create the Excel project using Olegen and also to embed
    an excel sheet in my application window. Now I need to map the data in
    my application onto the excel sheet using the Ole API. I am trying to
    figure
    it out due to lack of sufficient forte documentation.
         If any forte users have done this previously and know how to map
    data
    from their application onto the excel sheet, can they kindly help me
    out.
    Thanks
    Manish Shirke
    [email protected]

  • How to  send ALV output data into Excel sheet format via Mail to the user?

    Hi friends,
    I have a doubt ie,
    How to  send ALV output data into Excel sheet format via Mail to the user?
    regards
    Moosa

    Hi,
    Provide the output internal table to the objbin in the below FM
    Send Message
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           EXPORTING
                document_data              = i_docdata
                put_in_outbox              = c_x
           TABLES
                packing_list               = i_objpack
                object_header              = i_objhead
                contents_bin               = i_objbin
                contents_txt               = i_objtxt
                receivers                  = i_reclist
    and specify the document type
      i_objpack-doc_type   = 'XLS'.
    and try.
    Regards,
    Nandha

  • Again: Using Crystal Report to export excel sheet.

    Morning every one, first Iu2019d like to apologize for my last question see Using Crystal Report to export excel sheet. Itu2019s pretty hard to understand and wastes your precious time. Now here is a new one hopefully it will do myself a lot of help:)
    First, we have a table called HOURLY_PORTUTIL in the Database:
    Column Name...........Data Type  
    STARTTIME ................DATE
    CIRCLE.......................VARCHAR2
    SERVICENAME...........VARCHAR2
    PORTUTIL....................NUMBER
    The data in this table looks like:
    9/25/2008 00:00:00 AM...AP...(456)...0.01
    9/25/2008 01:00:00 AM...AP...(456)...0.04
    9/25/2008 02:00:00 AM...AP...(456)...5.04
    9/25/2008 12:00:00 PM...AP...(456)...0.02
    9/25/2008 00:00:00 AM...AP...AL-MOD...0.01
    9/25/2008 01:00:00 AM...AP...AL-MOD...0.04
    9/25/2008 02:00:00 AM...AP...AL-MOD...0.04
    9/25/2008 12:00:00 PM...AP...AL-MOD...0.02
    9/26/2008 00:00:00 AM...AP...(456)...1.01
    9/26/2008 01:00:00 AM...AP...(456)...0.34
    9/26/2008 02:00:00 AM...AP...(456)...5.24
    9/26/2008 12:00:00 PM...AP...(456)...7.72
    9/26/2008 00:00:00 AM...AP...AL-MOD...12.0
    9/26/2008 01:00:00 AM...AP...AL-MOD...0.23
    9/26/2008 02:00:00 AM...AP...AL-MOD...0.44
    9/26/2008 12:00:00 PM...AP...AL-MOD...8.11
    9/25/2008 00:00:00 AM...Delhi...(456)...1.01
    9/25/2008 01:00:00 AM...Delhi...(456)...2.04
    9/25/2008 02:00:00 AM...Delhi...(456)...6.04
    9/25/2008 12:00:00 PM...Delhi...(456)...7.02
    Then we have a Cross-Table:
    Columns:
    .............HOURLY_PORTUTIL.SERVICENAME
    Rows:
    ............HOURLY_PORTUTIL.CIRCLE
    ............HOURLY_PORTUTIL.STARTTIME
    ............@hourly
    Summarized Fields:
    ..............................Sum HOURLY_PORTUTIL.PORTUTIL
    The Formula @hourly converts, say, '9/25/2008 01:00:00 AM' to '01:00-02:00'.
    The above all is the information of our Cross-Table configuration, but the outcome is not what we want. I find that this forum doesn't want the user to post image, so I post the actually outcome and the outcome we want in my Picasa.
    Actually outcome:
    [http://picasaweb.google.com/enel.guo/ForWork#5288743968250408770]
    What we want:
    [http://picasaweb.google.com/enel.guo/ForWork#5288743974292750610]
    I know that the outcome looks good enough, but our customers don't think so. They want export the report to Excel sheet and have every row with exact CIRCLE and STARTTIME.
    Thanks again guys:)

    Hi  Ashwini Yadav,
    Thanks for your reply:)
    I'm afraid that your answer is not perfectly right. Again I'm sorry for my vague description. The suggestion you gave us is already adopted. The total and grand total part disappeared but we still can't get what we want.
    Please have a look at the new image link below, Hopefully it will give you a clear picture of what's going on:)
    Cross-table:
    [http://picasaweb.google.com/enel.guo/ForWork#5289122850514299506]
    Cross-Table configuration:
    [http://picasaweb.google.com/enel.guo/ForWork#5289123604007267826]
    Cross-Table configuration::
    [http://picasaweb.google.com/enel.guo/ForWork#5289122854967734466]
    The original output:
    [http://picasaweb.google.com/enel.guo/ForWork#5289120017105336914]
    The output we want:
    [http://picasaweb.google.com/enel.guo/ForWork#5289120018508824882]
    Edited by: Yu-Lin Liang on Jan 9, 2009 3:51 AM

  • How to Use Web Printing with Microsoft Excel

    Hello,
    In the recent How to paper on Use Web Printing with Microsoft Excel, describes few ABAP classes and methods. Can those classes be modified  to access much more Microsoft excel objects , such as Macro ? Does any body has tried in those lines ? Any suggestions is eagerly awaited.
    regs
    D Bret

    Hi BW people,
    Since we want to modify our reports for printing (and the How-To about enhancement of web printing does not really answer to our requirements) it seems that the Excel alternative is just what we were looking for.
    Unfortunately I have been working with these classes for 6 hours now to get a very simple Excel file, but without success. I did fix the bug like Thomas Kauffman told on the forum, changed the dataprovider and prefixes and I followed every single step of the How-To document(also the check of folder options to open/save the .xls file),... The only thing that happens: the URL has changed (bookmark) and the page is reloaded again.
    So no Excel file, neither a dialogue box. I also walked -a very long time- through the code (in debugging mode) starting from ZCL_RSR_XLS_HELP_WINDOW_PRINT->PROCESS_CMD but I can't find anything!
    Is there anybody with the same problem and -better- with a possible solution to it?
    Thank you very much in advance!

  • How to use the function EXEC_SQLCMD_MSQ in Excel?

    Hi Friends,
    can anyone explain how to use use this function EXEC_SQLCMD_MSQ in Excel to get the result.
    I have written excel macro to use this function,  statement like "Select * from t001" but the function doesn't reply any value.
    My objective is to pass the (any, generalised)
    sql statment to this function and get the result in Excel file.
    Please give the solution for this.
    Thanks
    Shankar

    Hello Shanker,
    The Fm EXEC_SQLCMD_MSQ is used in report RSMSQ020.
    U can do the same in ur report.
    If useful reward the points.
    Regards,
    Vasanth

  • How to use SharePoint Metadata in MS Excel

    Hi,
    I would like to use the metadata from a SharePoint library in an Excel file without a VBA scripts. How can I get these metadata into an Excel file?
    Thanks in advance.

    Hi,
    In MS Word we have the possibility to use a library's metadata by using "Quick Parts" and "Document Properties". Unfortunatly, MS Word is not very confortable in contrast to MS Excel. Therefore we are looking for a solution to use the metadata of a sharepoint
    library in an Excel sheet.
    For example: We have implemented a customized Excel file with calculated columns. This excel file should be a, lets say a measurement protocol.
    By creating a new document (Excel Template) we want to add only the measurements. The metadata shall appear within the template. (LookUps, Date, Responsible, ID, etc.)
    Export the data into an excel file is very redundant. Because you have the data inside the library and in the excel file. Copying, Sending, Renaming, etc.. I just was wondering why MS Word has this option and MS Excel not? Do you know how I can use those
    metadata from SharePoint? 
    Thanks in advance. 

  • How to Export Table Data to a excel sheet using OPENROWSET

    Hi Team,
    I would like to Export table data to a excel sheet by using "OPENROWSET" command in SQL Server but I am getting the
    below error message
    Column name or number of supplied values does not match table definition.
    Please help me on how to export the table data to an excel sheet by using "OPENROWSET" in SQL Server

    I know this is old so I assume you've fixed this. However, for anyone else looking at this forum, I'd recommend using a union or a table join.
    Select a.1, a.2, a.3 from a <where clause>
    union
    Select b.1, b.2, b.3 from b <where clause>
    or
    use a type of join.
    If both table selects return the same number of columns but different data just reference them as a variable like fred, and Ted
    Select fred.1, fred.2, fred.3 from (Select a.1, a.2, a.3 from a) fred
    union
    Select Ted.1, Ted.2, Ted.3 from (Select b.1, b.2, b.3 from b) Ted
    or again some type of join of these two sets
    Select * from
    (Select a.1, a.2, a.3 from a) a
    INNER JOIN (Select b.1, b.2, b.3 from b) b ON b.1 = a.1
    This would give you 6 columns of data a1-3, and b1-3
    We don't know from your description what format your spreadsheet is in. These just give you the idea. Think of the sub-selects as a Table. It's just named "fred". Once your select holds all the data you need, then export the data to the spreadsheet. Use
    the horsepower of the database before trying to do a multple update of the same spreadsheet.
    Does this give you enough to fix what you were trying to do?   

  • HOW CAN I GET THE TIME IN EXCEL SHEET USING WRITE TO MEASUREMENT INSTRUCTION

    HI, I am using GET TIME IN SECONDS ,and after that i placed SECONDS TO DATE /TIME instruction ,and i had taken a write to measurement file instruction
    to get the time in excel sheet. Now i am not able to connect write to measurement source to seconds to date and time output . Is there any solution.
    I am attaching my VI file also.
    Attachments:
    TEST.vi ‏43 KB

    Hi
    Im using Labview 8.2. Currently it just shows the data without the time. Im not sure what to do. It works perfectly though. I just want the time to appear on my notepad along with my data
    holla
    Attachments:
    Testing1.txt ‏1 KB
    Untitled 231_LV80.vi ‏23 KB

  • How to use display name item in excel web access in sharepoint 2010

    Hi All,
    i have a one excel sheet having 3 or 4 tabs.like sheet 1 or sheet2. and i have save this workbook as abc. and upload it on one document library and insert a excel web access web part on it. but in this page i want to show only sheet 2, so how can i do it
    with Named item. 
    can you please tell me the steps to show my sheet 2 in excel web access rater than showing whole workbook with all tabs.
    i have searched so many blogs but i have no idea how to do it. 
    please help..ASAP.
    Thanks
    Vivek singh Tomar

    Check if this helps
    The following illustration shows a sample EWA Web Part with a Full toolbar. This example shows the workbook in Worksheet view, and includes the
    Open menu, Data menu, and the Find
    button. If the worksheet is shown in Named Item view, a
    View also appears on the toolbar. 
    http://office.microsoft.com/en-in/sharepoint-server-help/excel-web-access-web-part-custom-properties-HA010377893.aspx

  • How to write to a password protected excel sheet using ActiveX?

    Hi all,
    I would like to write to a protected Excel sheet. I protect the sheet just in case the data is not wrongly programmatically saved to other cells. These cells contained formulas.
    Please help.
    Thanks,
    keng

    Hi Randy,
    Thank you for looking into my problem.
    I have looked into the Workbook.open property node. There is "password" on the property node. Please see attached diagrams.
    Is is the right way to do it?
    Please advise further.
    For your information, the Excel workbook and sheet 1 are password protected.
    Thanks,
    keng
    Attachments:
    Password_Excel.jpg ‏37 KB
    Password_Sheet.jpg ‏23 KB

  • How can I Display my Reports in Excel sheet?

    Hello,
    I have developed my reports using oracle report Developer 6i, I am getting output in PDF and HTML CSS by the the parameter DESTYPT=HTML CSS/PDF through web.
    1.Now I want to show reports in Excel sheet also through web using 9 Internet Development Suit/9IAS .How it can be possible?
    2. Another thing is where should I deploy my all RDF reports in 9IAS?
    3. In 9IAS no Web DB listener is present so how it can be possible to run the reports through web?
    Thanks and Regards,
    Ashwani

    Hi,
    1. To display the output in Excel, refer "Output to Excel with Oracle9i Report"
    at http://otn.oracle.com/products/reports/htdocs/getstart/demonstrations/index.html
    2. The Reports RDF files will be deployed in Report server tier, i.e the place you
    have installed your Business Inteligence componentes of 9iAS.
    3. In 9 iAS, Report servlet/JSP can be run inside oc4j container. Report cgi can be
    run the default http server present in 9iAS. Refer the 9iAS rel-2 manulas for more information
    Thanks,
    Rohit

  • How to download data from itab to Excel sheet..

    Hi sap Experts,
    I develop one report to download data from itab to excel sheet.I done it perfectly.
    My doubt is in the excel sheet i need to put headings. and also at last i need to display total no.of Records.
    Please help me how to do this.
         Thanks in Advance....
    Thanks and Regards
    Siri.......................

    u can either use GUI_DOWNLOAD or the method below...just give a try
    DATA:WK_string TYPE STRING.
    DATA:Wk_EXT(4) TYPE C value '.xls'.
    DATA:WK_path TYPE STRING.
    DATA:wk_file_name type string.
    data:wk_records type sy-tfill.
    wk_file_name = 'Downloaded'.
    describe table itab lines wk_records.
    LOOP AT ITAB.
    at first.
    **Provide path
    concatenate 'C:\' wk_file_name Wk_EXT into wk_path.
    open dataset WK_path for output in text mode encoding default.
    if sy-subrc  0.
    write:'ERROR while opening dataset !!!!!!'.
    EXIT.
    endif.
    CONDENSE wk_path.
    **Heading Part
    concatenate 'Part No' 'Description'
         into wk_string separated by cl_abap_char_utilities=>horizontal_tab.
    endat.
    **Data ITAB
    CONCATENATE ITAB-MATNR itab-maktx into wk_string
         separated by cl_abap_char_utilities=>horizontal_tab.
    transfer wk_string to WK_path.
    at last.
    clear wk_string.
    Concatenate  'Records Passed:' wk_string into wk_string.
    transfer wk_string to WK_path.
    close dataset WK_path.
    endat.
    endloop.

Maybe you are looking for

  • Mid month Relieving and joining

    Hi All, Relieving and joining during mid of the month are not getting pro- rated. System is able to pro-rate the salary for any unpaid absence but not for relieving and joining cases. What is that I am missing? Please tell Regards Astha

  • Can I instal SAP Netweaver 2004s trial on windows vista home premium

    Hi , Can I install SAP Netweaver 2004s trial on WIndows vista home premium. Please advise. One more thing is I am not able to download the Trial version from the SAP's FTP site. Because ftp is blocked in our company. Is there any other site from whic

  • AR/AP Agings

    You can produce an AR aging that balances to the GL as of a certain date (backdated), but partial payments do not age correctly(the entire payment is aged in the column of date paid and invoices paid in full in the payment show as open).  You can pro

  • How can i select the next column instead of next row when press enter key

    I need to know how can i select the next column instead of next row when i press the enter key.By default ,when i press enter key the next row is selected and the column remain unchanged but I wants opposite that is the row should remain unchanged bu

  • AR Invoice Project

    Hi all Is it possible to copy the AR Invoice Project selected in Content first row to the Accounting tab BP Project automatically? Kedalene Chong