TableView-Links in Cell and Barchart

Dear All,
I am developing a BSP application with Pages with Flow Logic. Here I have used TableView with some links in certain columns. On the click of these cell links I wanted to display further information. I wanted to handle this click as a server-side event; but I am not aware of how to handle this event. Can any one help me in this?
I also wanted to display Bar Charts based on certain values; how can I achieve this?
Thanks in advance for ur help.
Regards,
Kanthimathi

I assume you are using iterator to build the links. in such a case, on clicking of the link to pass the value to other frames you dont need onclick event of the link.
just do as follows.
iterator code.
method if_htmlb_tableview_iterator~render_cell_start.
field-symbols: <fs> type any ,
                   <l_field> type any .
data: wf_text type string.
assign p_row_data_ref->* to <fs>.
case p_column_key.
    when '<LINK COLUMN NAME>'.
assign component p_column_key of structure <fs> to <l_field>. " this is to get the value of the cell
      wf_text = <l_field> .
      concatenate '<target page.htm>' '?<pamramname>=' wf_text into wf_url .
  call method cl_htmlb_link=>factory
        exporting
          id            = p_cell_id
          reference     = wf_url
           target        = '<target frame id>'
    text          = wf_text
        receiving
          element       = p_replacement_bee .
now in the target page declare a page attirbute with auto checked with the name you have used int he above url <paramname>
Hope this is clear.
Regards
Raja

Similar Messages

  • Break link to Cell and Table Style and keep the style setting

    For cell Selection is work (but can't keep the style setting after break the link), but I also want to break the table style, but error
    For both Break link to cell/table style, I want to keep the style setting after break the link
    BreakLinkToTableStyleSelection();
    BreakLinkToCellStyleSelection();
    function BreakLinkToTableStyleSelection () {
    var
         mNone = app.activeDocument.tableStyles.item(0),
         mSel = app.selection[0];
    if(mSel.constructor.name === "Cell" || mSel.constructor.name === "Table") {
        mSel.tables.everyItem().appliedTableStyle = mNone;
        return;
    if(mSel.hasOwnProperty("baselineShift")){
        mSel.tables.everyItem().appliedTableStyle = mNone;
        return;
    function BreakLinkToCellStyleSelection () {
    var
         mNone = app.activeDocument.cellStyles.item(0),
         mSel = app.selection[0];
    if(mSel.constructor.name === "Cell" || mSel.constructor.name === "Table") {
        mSel.cells.everyItem().appliedCellStyle = mNone;
        return;
    if(mSel.hasOwnProperty("baselineShift")){
        mSel.tables.everyItem().cells.everyItem().appliedCellStyle = mNone;
        return;

    For cell Selection is work (but can't keep the style setting after break the link), but I also want to break the table style, but error
    For both Break link to cell/table style, I want to keep the style setting after break the link
    BreakLinkToTableStyleSelection();
    BreakLinkToCellStyleSelection();
    function BreakLinkToTableStyleSelection () {
    var
         mNone = app.activeDocument.tableStyles.item(0),
         mSel = app.selection[0];
    if(mSel.constructor.name === "Cell" || mSel.constructor.name === "Table") {
        mSel.tables.everyItem().appliedTableStyle = mNone;
        return;
    if(mSel.hasOwnProperty("baselineShift")){
        mSel.tables.everyItem().appliedTableStyle = mNone;
        return;
    function BreakLinkToCellStyleSelection () {
    var
         mNone = app.activeDocument.cellStyles.item(0),
         mSel = app.selection[0];
    if(mSel.constructor.name === "Cell" || mSel.constructor.name === "Table") {
        mSel.cells.everyItem().appliedCellStyle = mNone;
        return;
    if(mSel.hasOwnProperty("baselineShift")){
        mSel.tables.everyItem().cells.everyItem().appliedCellStyle = mNone;
        return;

  • Help needed with referencing single Excel cells and formatting resulting text

    In InDesign CS5 I am putting together a 20pp catalogue of about 200 products. The plan is to have the product information, SKU code, quantity etc fixed, but have the prices (there are two i.e. pack price and individual price) being linked to an Excel spreadsheet. This is so that the prices can be updated in the Excel file and the InDesign file will pull the new prices through. In case you are wondering why I don't pull the whole set of information through, this is because there are a lot of copywriting changes done to the information once it's in InDesign - it's only going to be the prices that will be updated.
    I am planning on having two single cell tables in their own text frame, duly formatted with cell style, table style and paragraph style for the two price variables. This I am then going to have to repeat 200 times making sure I link to the next row down in Excel. This is going to be a hideous task but I see know way of modifying the cell in InDesign to point it to the next row in Excel. That's my first problem.
    My second problem is this. In the Excel sheet, the prices are formatted as UK currency and are therefore like this...
    £2.00
    £0.40
    £1.43
    £9.99
    £0.99
    £0.09
    What I will require is once I import that data (and refresh the data via a newly saved Excel file) is that the prices end up like this...
    £2.00
    40p
    £1.43
    £9.99
    99p
    9p
    So if the value is lower than £1.00 it needs a trailing 'p' added  and the leading zero and '£' sign stripped off. If the value is lower than £0.10 it also needs the zero after the decimal point stripping off.
    Then formatting wise, the '£' sign needs to be superscripted and the same for the 'p'. This I am assuming could be done via GREP?
    In summary, can anyone help with the first task of referecing the Excel cells on a cell by cell basis, given that it is the same cell column each time, but the next row down, and also point me in the right direction of the price formattting issues.
    Any help will be gratefully received.

    I would do this:
    Create on line with the formatting.
    Export as InDesign tagged text (TXT)
    Read out these tags
    In Excel exists a function to connect text from several cells and predfined text, there connect the content from cells with the paragraph styling tags. Do it in a seperate sheet. (Better would be to use a database like Access, there you can link your Excel sheet).
    Export this sheet as txt file
    Place this sheet as tagged text (there is an option in one of the sialog boxes).
    In preferences  < file handling you can specify that Tablecalculation Sheets and text is not embedded but linked, turn it on.

  • How can I insert a new table whose cells are linked to Cell Styles?

    How can I define a Table Style so that cells in new tables are automatically linked to my Cell Styles? (Not sure if "linked" is exactly the appropriate word....I'm going for "connected in such a way that when the Style is changed, the character/paragraph/cell/table/object updates to reflect the change.")
    I thought the whole point of using Cell Styles in Table Styles would be so the cells can be automatically linked to the desired Cell Styles when the table is created -- but that isn't happening for me. I don't know if I'm just confused or if this is a bug:
    When I insert a new table of a Table Style I have defined, it seems all cells in the new table are simply linked to Cell Style [None], with overrides for each cell that are consistent with the applicable Cell Style as it was defined when the table was inserted. So although the appearance of each cell is consistent with the Cell Style I defined for for that region of the table, the cells don't update if I later make changes to the Cell Styles I defined.
    (If, after inserting a new table, I manually select each cell and apply the desired Cell Style, then the cells do (of course) update when I change the Cell Styles.)
    Is it possible to have cells be actually linked to Cell Styles when a new table is inserted, instead of cells being simply linked to style [None] with overrides?
    (I'm using the up-do-date 2014 release of InDesign CC, in case that's relevant.)

    there is a example on Page 1149 of book Graphic Java 2 mastering the JFC
    by David M. Geary. ISBN: 0-L3-079667-0, Try to take a look the code. It will help.

  • How can I link specific cells in two different speadsheets so the data from a specific cell in spreadsheet A automatically updates in a specific cell in spreadsheet B. It works in Xcel- Any ideas?

    How can I link specific cells in two different tables so the data from a specific cell in table A automatically updates in a specific cell in table B? It works in Xcel- Any ideas?

    (1) your title ask the way to link different spreadsheets.
    In Numberland, a spreadsheet is an entire document.
    There is no way to link different documents.
    (2) in the message, you ask the way to link different tables.
    This feature is available and is described in iWork Formulas and Functions User Guide (which is available for free from the Help menu).
    Getting the info just requires a simple search in this available resource !
    Yvan KOENIG (VALLAURIS, France) 14 mai 2011 10:37:50

  • Merging cells and using the fill handle to copy the merge in subsequent...

    My problem can be best illustrated by me by explaining how I could achieve it in Excel.
    In Excel, this is how it would be done for example:
    I select two horizontal cells and click on the merge button to merge them. They are now one cell, with the fill handle (small circle) on the bottom right corner. Clicking on that circle and dragging it down will merge both cells in each row into a single cell. i.e. each subsequent row will look like the row above until I stop dragging.
    How can I do this in Numbers. Obviously I don't want both columns to become one wider column, but just a certain selection of rows within the two columns.

    doktor_florian wrote:
    Either this answer does not have anything to do with the original question or I just don't get the link.
    If I select 20 rows with two columns and press "merge" I get one cell with the content of 20 rows. This is utterly useless.
    Hi,
    1.) I think you do not entirely understand my poing. Unfortunately, I cannot upload images of what I am trying to illustrate in words.
    I am not trying to merge 2 columns and their 20 rows into one cell. What I want to do is to merge two cells horizontally.
    Open Numbers and open a blank spread sheet. You have numerous columns and rows, but for simplicity, concentrate on columns A and B and rows 1-5.
    The illustrations below show what it is I want to achieve. You start of with (1), two columns with 5 rows making a total of 10 cells. For what ever reasons, I need to merge the 2nd row (A2+B2) into a single cell. I select them, click on merge and that's it. [Illustration (2)] However, I also need the 2nd and 3rd row merged. In Excel. I would click on the bottom-right corner of the 2nd row which was recently merged and drag down. This would copy the merged cell onto the rows below and the result is shown in illustration (3). Now, I could just repeat the procedure that I did the first time I merged the two cells in row 2, but imagine if you need to do this for 10 or 20 rows. That's extremely time consuming and certainly there must be an easier way.
    (1) (2) (3)
    A B A B A B
    1 l___l___l 1 l___l___l 1 l___l___l
    2 l___l___l 2 l_______l 2 l_______l
    3 l___l___l 3 l___l___l 3 l_______l
    4 l___l___l 4 l___l___l 4 l_______l
    5 l___l___l 5 l___l___l 5 l___l___l
    2.) +"If I select 20 rows with two columns and press "merge" I get one cell with the content of 20 rows. This is utterly useless."+
    I think this is a very patronizing comment. How can you know what needs I or other Numbers users have? Perhaps it is very useless to you, in which case you should have said so, but it is not objectively useless.
    P.S. I apology for the messiness of the illustrations. It's the best I can do.

  • HT3345 link a cell to a file?

    In Number 09, is there a way to link a cell to an image file so that I can double click the cell and open the image?

    shaving wrote:
    In Number 09, is there a way to link a cell to an image file so that I can double click the cell and open the image?
    Yes, but only if that image is stored on a server that gives the image file a valid URL. You can't link to other files on your computer, only on the internet. Storing your images on Dropbox would do the trick.
    Jerry

  • Load cells and non contact strain measurement

    I am designing a bi-axial machine which meant for a fatigue test.
    Could someone recommend me where to get a dynamic load cells and as well non-contact strain measurement?
    Thanks.

    Hi Alvin788,
    Do you presently use any hardware to measure these or are you enquiring as to what hardware/software you will need? Are you planning to use LabVIEW? The following three links talk about measuring Load Cells as well as Strain Gauges 
    Continuous Acquisition from a Smart TEDS Load Cell Sensor
    How do I Configure a Load Cell in MAX?
    Strain Measurement with a Strain Gauge
    This post will also be highly helpful.

  • I want to put a number in a cell and tell it to times by 2 and get the result as a total further along. Sorry couldn't find the answer in any tutorial.

    I want to put a number in a cell and tell it to times by 2 to give the result i another cell?  Sorry couldn't find the answer in any tutorial.

    Hi Caakie,
    Sounds like tou need some basic information.
    The best advice I can give someone new to Numbers (and to spreadsheets in general) is to download and read at least the first four chapters of the Numbers '09 User Guide. You'll find a download link in the Help menu in Numbers '09.
    When you want to start using more complicated formulas, you'll also need the iWork Formulas and Functions User Guide, available from the same menu.
    Regarding your question: "Can you just give me the string for B which is just add and C which is *2."
    What is to be added in "B"? What is to be multiplied by 2 in "C"?
    =2+3 will return the result 5.
    =A+B will return the sum of the numbers in column A and column B in the same row as the cell containing the formula. If either A or B contains a non-numerical value, the formula will return an error message.
    =3*2 will return the result 6.
    =A*B will return the product of the numbers in column A and column B in the same row as the cell containing the formula. If either A or B contains a non-numerical value, the formula will return an error message.
    Regards,
    Barry

  • Clearing overrides in Cell and Table Styles causes crash

    I can not "Apply [...], Clear Overrides" in a Cell, Table or Paragraph style without InDesign CC crashing. I have removed all Object styles from the tables that I am working with. I tried exporting to .idml and starting a new file and have the same issue.

    @Chris – Is InDesign CC patched to the latest version?
    Are you interested to test a script by Marc Autret posted at the inDesign Scripting Forum?
    See the following thread and posts:
    creativejoan0425
    How to break link to cell/table style in a selection
    Dec 14, 2013 3:51 PM
    https://forums.adobe.com/message/5929954#5929954
    See Marc Autret's script for cleaning different levels:
    https://forums.adobe.com/message/5931169#5931169
    Change the last line of his code to your will. Basically you have 4 options. Chose *one* of those:
    Option 1 LEVEL 0:
    breakLinkToCellStyleSelection(0); // LEVEL 0  => only clear overrides relative to *defined* style attributes
    Option 2 LEVEL 1:
    breakLinkToCellStyleSelection(1); // LEVEL 1  => clear all overrides (through root style)
    Option 3 LEVEL 2:
    breakLinkToCellStyleSelection(2); // LEVEL 2  => clear all overrides and apply [None]
    Option 4 LEVEL 3:
    breakLinkToCellStyleSelection(3); // LEVEL 3  => apply [None] *in depth* (i.e. release all attributes)
    Select your cells or your table and run the whole script.
    Does it crash InDesign CC as well?
    Uwe

  • Link between Delivery and Sales Order Schedule Line

    Hi Gurus,
    I have a requirement in which i need to display quantity and amount at schedule line level and also the delivery and delivery item for each schedule line.
    For example, if there is a sales order O1 and item 10 for which we have 3 schedule lines and 3 deliveries as well say D1, D2 and D3.
    Report should be something like this
    Sales Order    Item   Schedule Line    Delivery    Del Item   Confirmed Order Qty
    O1                 10      1                       D1           10            5
    O1                 10       2                      D2            10            5
    O1                 10       3                      D3            10            4
    How can i determine that a particular delivery corresponds to which schedule line of that saler order-item?
    We have the link between delivery and sales order but is there any way that we can get the link of delivery at schedule line level?
    Please help.
    Regards,
    Gaurav

    Hi,
    I suppose you must check with SD functional consultant and the post should also be in the logistics SD forum and not BI. But I suppose there is know specific link between the schedule line of SO to the Delivery. It is more like a bucket flow for ex.
    Sale order   Item    Schedule line  qty
    SO1            Item1     Sch1            10
    SO2            Item1      Sch2           10
    Delivery Item QTy
    DO1       IT1   15
    DO2       IT1    5
    In this case qty 15 is distributed over both SO1 and SO2, and SO2 ITem1 Sch2 has link to both the DOs
    So I am not sure if you can establish a one to one link, please check with your SD consultants.
    Regards,
    Ashwin G

  • How to delete formula from cells and keep the values in Excel VBA

    Hi,
    In my Excel I have 15 columns. In column F which has a formula (INDEX MATCH), it has contains "RECEIVED" and "INTRANSIT". I need to filter the column F for all "RECEIVED" and then remove the formula from cells and
    retain or keep the values that are already in the cells. something tricky and i'm not sure on how to work on this in Excel VBA.
    Below is my initla VBA code:
    I already have the codes on how to filter. kindly please help me on how to do this. thank you in advance.
    Sub test_Click()
    Dim wb As Workbook
    Dim ws As Worksheet
    Dim rng As Range
    Dim lrow As Long
    Set wb = ThisWorkbook
    Set ws = wb.Sheets("Intransit_")
    Application.ScreenUpdating = False
    ws.AutoFilterMode = False
    With ws
    lrow = .Range("F" & Rows.Count).End(xlUp).Row
    Set rng = .Range("A1:R" & lrow)
    Debug.Print rng.Address
    rng.AutoFilter Field:=6, Criteria1:="RECEIVED"
    End With
    Application.creenUpdting = True
    End Sub

    Solved.
    Sub test_Click()
    Dim wb As Workbook
    Dim ws As Worksheet
    Dim rng As Range
    Dim lrow As Long
    Dim rRec As Range
    Dim btField As Byte
    Set wb = ThisWorkbook
    Set ws = wb.Sheets("Intransit_")
    btField = 6
    Application.ScreenUpdating = False
    ws.AutoFilterMode = False
    With ws
    lrow = .Range("F" & Rows.Count).End(xlUp).Row
    Set rng = .Range("A1:R" & lrow)
    With rng
    .AutoFilter Field:=btField, Criteria1:="RECEIVED"
    On Error Resume Next
    Set rRec = .SpecialCells(xlCellTypeVisible)
    On Error GoTo 0
    End With
    .AutoFilterMode = False
    If Not rRec Is Nothing Then
    With rRec
    .Columns(btField).Value = .Columns(6).Value
    End With
    End If
    End With
    Application.ScreenUpdating = True
    End Sub

  • When I first open Firefox it is fine but if I open a second tab to search another site I get a white screen and have to continually click 'back', click the site link, white screen, back, click the link, white screen and so on.

    When I first open Firefox it is fine but if I open a second tab to search another site I get a white screen and have to continually click 'back', click the site link, white screen, back, click the link, white screen and so on.

    This can also be a problem with the files [http://kb.mozillazine.org/sessionstore.js sessionstore.js] and sessionstore.bak in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
    Delete [http://kb.mozillazine.org/sessionstore.js sessionstore.js] and sessionstore.bak in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
    If you see files sessionstore-##.js with a number in the left part of the name like sessionstore-1.js then delete those as well.
    You will have to redo App Tabs and Tab Groups after deleting sessionstore.js.
    See:
    * http://kb.mozillazine.org/Session_Restore

  • NEW CELL and NEW LINE

    Hi,
    I am not clear about NEW CELL and NEW LINE in The Main window -> Table -> Footer -> Output options -> Output Table.  Could any one help in explaining exactly what is the purpose of it.
    Thanks
    Ram

    when you are placing a text element, you need to specify whether you want this text element to be displayed in the next cell of the table. If the text element is to be displayed in the next line then you will have to check that as well. So, if you are displaying a list of fields in a row format then for the first field, you check both line and cell and for the rest of the fields you check just the cell.
    Regards,
    Ravi
    Note - Please mark all the helpful answers

  • Link between sd and pp

    hi all,
      i have a problem regarding relation or link between sales and production order. i have to fetch production order number related to sales order number. i have checked in the table AFPO that is production order item table , there is field AFPO-KDAUF and AFPO-KDPOS ie, sales order and sales item. but when i see these two fields there is no data into the field so how can i get data into the table related to production order.can anyone help me on this issue.

    Please refer to the below links -
    https://forums.sdn.sap.com/post!reply.jspa?threadID=309885
    Integration points with MM/IM and PP are some of the following -
    When a Production order is created and released a reservation gets created for the materials in BOM
    When the reservation is created and materials are posted against the reservation with mvt type 311 these are transferred to the respective location.
    When a GR is posted with mvt type 101, the Finished or Semifinished goods are posted to the respective storage location and inventorized.
    When a consumption is posted with mvt type 261 then stock will get reduced in resepective storage location.
    When a batch determination is done in a production order basing on the batch search strategy and sort rule material, quantity and batch are selected.
    If WM is configured an associated internal movement for all the above movement types will be posted.
    During MRP, BOM which is a master data for PP is used to calculate the dependent requirements of materials.
    During availabilty check of a production order basing on the availability check configured materials will be selected and checked.
    Hope the above may help you.

Maybe you are looking for