Webdynpro table freezing columns

Dear All,
         I'm displaying a report using WD Table, the no of columns in the table are more than 10 so user had to scroll to the right to see all the columns. The problem I face is that user is losing the first(part no) column detail when he is scrolling to the right(for which he is relating all the other column data).
         I thought of creating two different tables with first table having the partno and the other columns in the next table but this solution doesnt seem to help as the table navigation isn't possible.
         Could someone please help with a solution?
Thanks in advance,
Chaitanya

Hi Chaitanya,
One option is to use Tab Strip UI Element.
Then you can divide the columns according to there relation into say 2 logical Groups with Part No or other key fields being common.
To do this add a Tab Strip with Two Tabs and in both Tab's you have to define a Table by selecting the columns you want to show in each tab.
We have a item detail table with 40 fields to display. So we use a Tab Strip with 4 tabs to display this data.
The only disadvantage I see is that its a bit slow but that depends on your table data and your server/client preformance.
Hope this helps.
Regards,
Shubham

Similar Messages

  • WebDynpro Table Migrate Columns

    Hello experts,
    We are just migrating WebDynpro DCs (6.40 to CE 7.2) and experience a problem with our tables.
    After the general migration (correcting dependencies etc.) I get a generation error:
    Web Dynpro Generation: Metadata constraint of Component CosmosComp is violated: ViewElementAggregation "//WebDynpro/View:com.dorma.cosmos.views.AlertSettingsView/RootUIElementContainer/Child:AlertTable/OutgoingAggregation:GroupedColumns", Role "Definition": A minimum of 1 object(s) is required
    I read in the documentation that I have to use the table context menu function "Migrate Columns" to convert the Columns associations to GroupedColumns.
    But unfortunately this function is disabled.
    Can anybody please help?
    Thanks,
    Hans

    Hi Hans,
    NOTE: This migrate columns feature is available since NW 7.0 SP08.
    As of this release you will find it in the Outline View   > click on the table UI element > invoke the context menu.
    Further, however I know only about the following migration procedure, maybe it gives some idea for yours:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40af00ad-8080-2a10-88b5-cc4cec99d8ac?quicklink=index&overridelayout=true
    (but this is is again most likely a guide you may know, and as mentioned this is about
    Migrating Web Dynpro Java Applications from SAP NetWeaver 7.0 to Composition Environment 7.1)
    Still I hope it gives some idea how to proceed.
    Best Regards,
    Ervin

  • Currency Key Reference field in WebDynpro Table Column

    Hi Experts,
    I am using a WebDynpro table (not ALV) showing multiple currency fields in a single row - each one potentially referencing a different currency key e.g. Japanese Yen and USD in a single row.
    My currency context attributes are already defined as currency types, but how can I assign different currency key references to each of my currency context attributes? Or is this somehow done as a property of the table column UI element?
    Thanks for your help,
    Peter

    Hi Kris,
    You answer is very helpful, but I do have a question about going the DDIC route. So you are saying that if I take a DDIC structure into my context with multiple currency keys as reference fields for multiple currency fields, then my WebDynpro context will know exactly which currency key is the reference for which currency field without having do do this programatically as you described? If that's true, can I bring a whole DDIC structure over to the context and then delete the 'Dictionary Structure' refrence from my context node, so that I can add my own additional fields to the context node?  E.g. in the case of DDIC structure VBAP can I get all my currency fields and their reference fields from the DDIC from VBAP and then delete 'VBAP' as a 'Dictionary Structure' from my context node and add my own custom fields. The fields I would have brought in from VBAP still retain their type and everything after the deletion of 'VBAP' as a 'Dictionary Structure', so my question is will it also retain the node_info of what currency key goes with what field?
    Please let me know if you happend to have done this before.
    Thanks,
    Peter

  • Freeze columns in table control

    Hi Folks!
    Is it possible to freeze columns in a table control? If it is possible how you can achieve it?
    Thanks for any help.
    Regards,
    Gilberto Li

    hi,
    This should solve your problem
    This should in PBO
    controls cnt_acct type tableview using screen 9989.
    DATA W_cnt_acct LIKE LINE OF cnt_acct-COLS.
    loop at cnt_acct-cols into w_cnt_acct.
    w_cnt_acct-SCREEN-INPUT = '0'.
    modify cnt_acct-cols from w_cnt_acct.
    endloop.
    THANKS
    VENKI

  • How to Sort single column in webdynpro table

    Hi all
    I have requirement as follows.
    i have webdynpro table with the following columns like Date,firstname,lastname,address etc.
    now when i run the the application the table is populating the data at runtime that is fine.
    i need as soon as table is loaded , Date field in the table should be displayed the values in the decending order...i have the requirement as follows...
    how to sort the single column in table ...by default the values of the column displayed with decending order as soon as table displays at runtime....i dont want to click any button specific button to do the sort for that column
    Regards
    bindu

    Hi, I solved the same problem by modifying the sort() method in the default TableSorter class so that it takes a column id and direction rather than an event.
    I assume you have read the TableSorter tutorial.
    Like this. (This was done on nw ce 7.1 btw but may work on older versions as well.
    Oh and then you just call the sort method right after you have made the request
    //Code that goes into controller/view to execute sorting
    wdContext.currentContextElement().getPensionplanTableSorter().sort("MyColumnId", "Up", wdContext.nodePensionPlan());
    //Part of TableSorter.java
    //The original method that needs an event. Now it just calls the new method
    public void sort(IWDCustomEvent wdEvent, IWDNode dataSource) {
         // find the things we need
         String columnId = wdEvent.getString("selectedColumn");
         String direction = wdEvent.getString("sortDirection");
         sort(columnId, direction, dataSource);
    //This is the new method.
    public void sort(String columnId, String direction, IWDNode dataSource) {
         if (columnId == null || direction == null ) {
              return;
         IWDTableColumn column = (IWDTableColumn) table.getView().getElement(columnId);
         NodeElementByAttributeComparator elementComparator =
    (NodeElementByAttributeComparator) comparatorForColumn.get(column);
         if (elementComparator == null){
         //not a sortable column
              column.setSortState(WDTableColumnSortDirection.NOT_SORTABLE);
              return;
         // sorting
         elementComparator.setSortDirection(WDTableColumnSortDirection.valueOf(direction));
         dataSource.sortElements(elementComparator);

  • How to freeze column and row headers of a table

    How to freeze column and row headers of a table in jsp and javascript. An example is available in
    http://www.massless.org/_tests/grid1/ pls help to find a solutionj
    Thanks in anticipation
    Sreejesh

    At least I don't stop you from that. I also don't see any benefits in this topic.
    Success.

  • How do I Freeze Columns in HTML Tables

    How do I Freeze Columns in HTML Tables when scroll vertically as well as horizontally? (header and some columns on LHS). I generate a JSP report which got more than 1000 rows. Please advise. Thanks.

    Gooooooooooooooooogle searched "Freeze Columns in HTML Tables"
    So many solutions available !!!!!
    see the 1st link
    http://web.tampabay.rr.com/bmerkey/examples/locked-column-csv.html

  • WebDynpro 中Table的column的换行.

    dear all.
            WebDynpro 中Table的column的长度太长了,有没有换行属性?
    Edited by: Leo Wang on Jan 19, 2009 7:31 AM

    首先要把Table的width属性设备成一个定值,或者将TableColumn的width属性设成一个定值,然后再将Column中的TableCellEditor设成TextView,然后再将TextView的wrapping属性设成true,当TextView中的文本长度超过了Column的长度后,TextView就会自动换行,这样就可以达到换行的目的了。

  • Excel like 'Freeze column header' functionality in sharepoint OOB list view webpart

    Hi,
    I have OOB external list dropped on a page as listview webpart. It contains many records and hence while scrolling down headers are no available, hence it should freeze all column headers while scrolling down the page. Its directly dragged and dropped
    on site page hence no server side formatting can be done.
    Is there any way we can apply some client side script to freeze column headers to listview webpart while scrolling down? or any settings that can be done to acheive this?
    Thanks in advance.
    Regards,
    Rahul

    Hi Rahul,
    Normal techniques for freezing the header row of an HTML table tend to fall short when it comes to SharePoint 2010 lists due to the lack of THEAD elements.
    You can try something like this, although you may want to test it in various browsers in case the column heading alignment is off.
    <style>
    .ms-viewheadertr{background-color:white;}
    </style>
    <script>
    /* wrap the table in a div, set its height, give it scrollbars, and move it down */
    var myTable = document.querySelector(".ms-listviewtable");
    var wrapperDiv = document.createElement('div');
    wrapperDiv.setAttribute("ID","FreezePaneWrapper");
    wrapperDiv.setAttribute("style","OVERFLOW: auto; HEIGHT: 400px; padding-top:38px;");
    wrapperDiv.appendChild(myTable.cloneNode(true));
    myTable.parentNode.replaceChild(wrapperDiv,myTable);
    /* Freeze the header row and move it up*/
    var headerRow = document.querySelector(".ms-viewheadertr");
    document.getElementById("FreezePaneWrapper").style.width = "" + headerRow.scrollWidth + "px";
    headerRow.style.width = "" + headerRow.scrollWidth + "px";
    headerRow.style.position = "absolute";
    headerRow.style.top = ""+(headerRow.offsetTop-39)+"px";
    /* Tell the header's columns to be the same width as the cells in the first "alternating" row */
    var columns = document.querySelector("table.ms-listviewtable tr.ms-alternating").querySelectorAll("tr>td");
    headers = document.querySelectorAll("tr.ms-viewheadertr th");
    for(var i = 0; i < headers.length; i++){
    if(columns[i].scrollWidth > headers[i].scrollWidth){
    headers[i].style.width = ""+columns[i].scrollWidth + "px";
    }else{
    columns[i].style.width = ""+headers[i].scrollWidth + "px";
    </script>
    Edit: Also, you may want to inspect the HTML attributes on the external list view to be sure the class names match up with the querySelector parameters above. Specifically, the table should have a class of "ms-listviewtable", the header row should
    have a class of "ms-viewheadertr", and rows of alternating background color should have a class of "ms-alternating".
    If any of those are different in your case, you may be able to adjust the above code accordingly.

  • Using Radiobutton in a table in Column

    Dear all,
               Can anyone please help me how to use radio button in a webdynpro table  in a column?, In a column i want to use radio button and i want to select one button at a time in a column.

    Hi kavin,
                     Try dynamic lead select option.if u select one Radio button means the particular row will get lead selected.i think that ll  solve your problem.check the coding
    DATA LO_ND_BBU_NODE           TYPE REF TO IF_WD_CONTEXT_NODE.
      DATA LO_EL_BBU_NODE           TYPE REF TO IF_WD_CONTEXT_ELEMENT.
       LO_ND_BBU_NODE = WD_CONTEXT->GET_CHILD_NODE( NAME = 'VENDOR_DETAIL' ).
      LO_EL_BBU_NODE = WDEVENT->GET_CONTEXT_ELEMENT( 'CONTEXT_ELEMENT' ).
      LO_ND_BBU_NODE->SET_LEAD_SELECTION( ELEMENT = LO_EL_BBU_NODE ).
    Edited by: Gowtham.A on Oct 3, 2011 1:30 PM

  • Freeze columns and rows for scrolling in HTML ouput

    Hi everyone!
    I have an BIP report with a crosstab generating a HTML output and the table tends to get very big in the ouput, both vertical and horizatal wise, and I am looking for a way to freeze the first column when scrolling horizontally and the header row when scrolling vertically.
    Is there a way to accomplish this? It would help me a lot!
    Thanks,
    Magnus

    I saw in another tread (Freeze column headers in a table and enable vertical scroll bar on the rows that this user have seen a demo of what I want to accomplish. Nothing that you are aware of?
    Or, can it be done with Excel output?
    /Magnus

  • FREEZE COLUMNS AND ROWS IN WEB REPORT - PLEASE ADVISE ME

    Hi Experts,
    I have a web template that contains a query. My customer wants to freeze columns and rows in this report like we do in Excel. I know that in BW 3.5 this is not a standard feature of Table item. In forum I have found some messages regarding with this issue. I inserted a JavaScript code that I have found in forum, but this does not help. A codewriter wrote some other JaveScript for example  alert(), that works but some part of taken code from forum such as defined functions do not work.
    Other solutions advised in forum such as fixing row numbers or column numbers do not fix my problem.
    My questions:
    1 -  In new version of BW, BI 7.0 have this issue with WAD in standard been solved?
    2 - Does it really possible at the same time rows and columns to freeze? I want to freeze 2 rows from top, 2 columns from left.
    Could anyone have an idea?
    Best regards,
    Songul

    Hello,
    This will be implemented with SPS13.
    https://websmp204.sap-ag.de/~sapidb/011000358700004483762006E
    And before SPS13, i frame is useful to realize what you want to do. Using 2 "Analysis" web item. and display of 1st analysis web item is restricted only thin the header of the table and the 2nd Analysis web item is used as "table". display of this "analysis" is also restricted to 10 - 30 rows.
    but this consume hardware resource.
    <sample>
               <div style="OVERFLOW: auto; WIDTH: 1000px; HEIGHT: 20px" >
                   <bi:ANALYSIS_ITEM name="ANALYSIS_ITEM_2" designwidth="400" designheight="20" >
                       <bi:DATA_PROVIDER_REF value="DP_1" />
                       <bi:NEW_LINES_COUNT value="0" />
                       <bi:NEW_LINES_POSITION value="TOP" />
                       <bi:DATA_ROW_FROM value="1" />
                       <bi:DATA_ROW_TO value="0" />
                   </bi:ANALYSIS_ITEM>
               </div>
               <div style="OVERFLOW: auto; WIDTH: 1000px; HEIGHT: 200px" >
                   <bi:ANALYSIS_ITEM name="ANALYSIS_ITEM_1" designwidth="400" designheight="200" >
                       <bi:DATA_PROVIDER_REF value="DP_1" />
                       <bi:DATA_COLUMN_FROM value="1" />
                       <bi:DATA_ROW_TO value="0" />
                   </bi:ANALYSIS_ITEM>
               </div>
    Kind regards,
    Masaaki

  • Webdynpro table with dropdow list

    hi experts,
    i wanna webdynpro table rows have their dropdow list,and each row have it's own list values
    how can i do
    best regards
    zlf

    Hi,
    I hope you already have a Solution, if not try the following:
    1-Create a node"table"(0-n) in the context_View
    2-Create 2 attribute in this node.
      - The first"List_atr" to show the list
      - The second "save_atr" to save the value selected from the list
    3- Create a Table in the Layout_View, bind it dateSource to the node"table" in context_view
    3.1- Add a Column in the Table (Layout_View),
         + add a TableCelEditor "DropDownByKey" elt to this Column,
         + bind the "selectedKey" of this Elt to  the first"List_atr" in the node"table" in the context Node
         + Add a eventhandler(method)"onvalSelected" to the Events "onSelect" of this elt
    3.1-implement the method "onvalSelected"
        here tel ur view ctrl to save the value selected in the second "save_atr" in the context_View
    example code:
               wdContext.currentTableElement().setsave_atr( wdContext.currentTableElement().getshow_atr());
    So if you know how to populate the first "show_atr" with some list, coo. So if the user selected one value in the dropdown list, the method will save it in the cell of the table row and so on for each rows.
    If you have another questions just asked.
    Best Regards
    Glap

  • Freeze columns and rows easily

    I am new to numbers and although I had some difficulties, I have yet to freeze columns and rows in a simple way as in excel. I need to find a tool to focus titles without merging cells, this is something like "Center Across Selection". There is this tool? How I can actually freeze columns and rows easily?

    Numbers automatically repeats the column headers when you are in "Page View".  To enable page view select the menu item "View > Show Print View".
    There is no center across selection.  You can add a text box which you place in front of your table that is as wide as the group of cells you wish to centered on, with the text formatted so it is centered.
    I left the text box above the table, but you should move on top of like:

  • How do I freeze columns in a numbers 3.1 spreadsheet?

    How do I freeze columns in a Numbers 3.1 spreadsheet ?

    Hi Dale,
    Click anywhere in the table to make it active.
    Menu > Table > Freeze Header Columns.
    You can only freeze Header Columns. So you need at least one!
    Menu > Table > Header Columns
    Regards,
    Ian.

Maybe you are looking for

  • Address book sync not correct

    I sync my address book with both my . me account and via itunes with my iphone, also it appears in my bento and my bento on my iphone. all worked well till bento 3 (not sure this caused it, but timing is same as problem) now it does not sync anymore

  • Error  FUNCTION ' GUI_DOWNLOAD' on OS win 7

    Hi experts  recently install  OS windows 7, and the applications that they use PARAMETERS P_FILE TYPE RLGRAP-FILENAME DEFAULT ' C :\ ' OBLIGATORY. compile but in time of execution not found as XP.    Now it doesn't show de dialog box explorer. Also g

  • Keynote won't save file

    Everything has been working great with Keynote until last night when the program would not allow me to save my file. It actually shows up in the finder when I save as a new name, however it won't open and says the file is corrupt. Powerbook G4 15 Tit

  • I lost my ipad, but i cant found it, because i dont have my icloud on in the ipad

    i lost my ipad, but i cant found it, because i dont have my icloud on in the ipad

  • Threads

    I am writing a shopping cart program. I am having trouble connecting to an access database. whenever i run it. It just states that it doesn't connect & it doesnt recognize the name of the databasse