Assign first column as fixed in table view

I have a table view with many columns and I was wondering if it's possible in JavaFX 2.2 to assign the first column as fixed so when a user scrolls to the right the first column is always visible? I checked the API and this forum and didn't find a way to accomplish that.
Thanks.
Stefan
Edited by: 882590 on Mar 26, 2013 12:43 PM

I'd also like to see this functionality. This kind of behavior is useful when the first column is an ID-type attribute and there are too many other attributes to view at once for each record.
Actually, it turns out there is an open Feature request for just this: https://javafx-jira.kenai.com/browse/RT-19454 . If it's important to you, you ought to vote for it.
-David

Similar Messages

  • Problem with Column Sorting in Request Table View

    We've enabled column sorting on the table view in an Answers request but it doesn't work when more than around 400 rows are returned. It works Ok when fewer than 400 rows are returned. Does anyone know if there is a specific limit to the number of rows where column sorting works?
    Thanks,
    Mike

    I've dug into the query log a little more. When this request returns more than around 400 records and you click on a column heading to sort the table view, the query from the log is not changing to reflect the new sort order. It stays as whatever the default sort order was for the request.
    Column heading sorting on other requests in different subject areas on this same server works fine. I've tested this other request with up to 6400 rows returning and it's sorting works.
    All caching is turned off for the subject area.

  • How to re-arrange the columns present in pivot table view in obiee 10?

    Can you please tell me How to re-arrange the columns present in pivot table view in obiee 10?

    I have columns as 1,2,3,4,6,7, in pivot table view.
    I have calculated item (column 5 as summation of 1,2,3,4) and caluclated itme (column 9 as summation of 6,7)...now if i arrange ascending then calculated columns 5,9 don't get affected.
    I need the order as 1,2,3,4,5,6,7,9

  • How to not display the column header in the table view?

    I do not want to display the column header in the table view, how can I achieve it?

    If you're using JavaFX 8 you can use the following in an external style sheet:
    .table-view .column-header-background {
      -fx-pref-height : 0 ;
    If you're using JavaFX 2.2, the -fx-pref-height attribute is not available in css, so I think you have to resort to a lookup:
    final Region tableHeader = (Region)table.lookup(".column-header-background");
        tableHeader.setPrefHeight(0);
    As always, I feel obliged to point out that I don't really like lookups. Sometimes they seem to be the only way, though.

  • Lock rows and columns header in a table view report. It is possible?

    hi,
    I have a Dashboard that displays a report in "Table View" with many rows and columns.
    Is it possible to set a lock on the rows and columns like Excel?
    This would have blocked such headers that contain attributes and measures and to browse the report (eg with a scroll bar) had always viewed the headers.
    Can you help me?
    Thanks

    hi,
    please go through this discussion
    Re: SCROLL BAR to FREZZ HEADERS
    thanks,
    saichand.v

  • Disabling validations if the first column is empty in an editable table

    Hi ,
    I'd want to disable validations if the first column in an editable table is empty - coz we'd assume that the user does not want to enter any data in the new row. How can this be done ?

    Hi Viren,
    It is correct that the first line for every Master Data is an empty row, if I am not wrong it derives from SEM settings.
    1.If you have some rows with 0CUST_SALES without any attribute it is because you are uploading this MAster Data with a source that does not consider compound objects: it is surely a Transactional DataSource (you do not upload Attributes). So for every Transactional record for which you do not upload also compound objects the system creates a record in your Master Data that is not correct.
    2. If you do not have Distr Channel update in Inventory Cube I think you must re-upload all your request starting from PSA. If you have deleted your PSA you can create a DataSource on your cube and feed once again your cube with its same data (built Update Rules that start from Cube and end in the same Cube). Make an upload of all your request and the delete all previous request.
    Ciao.
    Riccardo.

  • Editing scroll view frame size in IB causes table view to change

    I suppose this is a continuation of the problems I was having with the table view resizing: http://discussions.apple.com/thread.jspa?threadID=2618816&tstart=0.
    I have a controller which needs to have a scroll view with numerous elements attached to it, including a table view.
    I have performed the following steps:
    - Set the simulated interface elements of the owning view to a nav bar.
    - Added a scroll view to the main view in the nib file.
    - Set the file owner view controller subclass' view to the scroll view.
    - Set the contentSize of the scroll view to the desired size in viewDidLoad.
    The problem is that the table view size/position are incorrect when I load the view in the iPhone simulator if I change the scroll view's frame size from 320x460. Basically, every time the scroll view frame size is changed, it causes the scroll view position and size to change.
    However, there are times I want to make the scroll view's frame size bigger in order to edit items that might be offscreen when the application is first loaded, which becomes awkward if the size of the view in IB or in code without causing the table view size/position to change. I keep having to change the size of the scroll view frame, edit the items, change it back to 320x460, and then fix the table view.
    Is there a way around this, such as a way to locking the size of a table?

    Hi Kaspars,
    I would say there is atm no possibility to change the table view size dynamicly, because you can't input a formula into the size field so the size is fixed as you enter it.
    Best Regards,
    Marcel

  • How to add a coloumn in a table view

    Hi all,
    In BSP SRMSUS, i need to add a column COUNTRY in the table view of PARTNER.
    i got to know that it can be done through iterator.
    But i have no idea on how to do that.
    Any help in this regards!!!
    Thanks and Regards
    Veda

    Hi Ravi,
    i got it. There is an SPRO setting where we control the fields to be displayed on the screen.
    i have added my required field which is present in the strcture in that spro setting.
    And i got it.
    Thanks
    Veda

  • Remove Sort in Pivot Table View

    Hi Folks,
    How to remove sort options from column header on pivot table view?
    Thanks,
    Aj

    Do you want to remove the little arrows on the column header in a pivot view?
    If so the options are available in the analysis Criteria Tab. The problem is you cannot set it for one view, they effect the whole analysis
    In Criteria Tab  -> Analysis Properties just beside Filters and selection steps -> Interactions tab.
    Mark if this helps

  • PLS-00357: Table,View Or Sequence reference 'A' not allowed in this context

    Hello
    I am accepting input values from users through java web page. To accept the values I am using the following code:
    import java.sql.*;
    import javax.sql.DataSource;
    import javax.naming.*;
    public class spsrch
         public void spsrch()
         public String espsrch(String p, String d, String a)
              String s1= "";
              String strColor="#C0C0C0";
              try
                   InitialContext ctx = new InitialContext();
                   DataSource ds = (DataSource)ctx.lookup("java:comp/env/jdbc/Oracle9i");
                   Connection Con = ds.getConnection();
                   Statement stmt = Con.createStatement();
                   CallableStatement proc1stmt1=Con.prepareCall ("{call Allsch("+p+","+d+")}");
    //               ResultSet rs = proc1stmt1.execute();
                   proc1stmt1.executeUpdate();
                   Con.close();
              catch(Exception e)
                   System.out.println("Flag Raised"+e);
              return s1;
    I am calling the procedure 'Allsch' to apply some logic before inserting data into a SQL table.
    The 'Allsch' procedure is :
    create or replace procedure tmpsch(pno varchar2,pdes varchar2) as
    mpartnum varchar2(30);
    mpn varchar2(30);
    mdes varchar2(150);
    cursor c1 is select partnum,description,aircraft_type from master_catalog where description like ltrim(rtrim(mdes))||'%' AND partnum like mpn||'%';
    cursor c2 is select partnum from ipc_master where partnum=mpartnum;
    cursor c3 is select partnum from fedlog_data where partnum=mpartnum;
    cursor c4 is select partnum from superparts where partnum=mpartnum;
    cursor c5 is select part_no from supplier_catalog where part_no=mpartnum;
    mpno1 varchar2(30);
    mpno2 varchar2(30);
    mpno3 varchar2(30);
    mpno4 varchar2(30);
    mpno5 varchar2(30);
    mdescription varchar2(150);
    maircraft_type varchar2(15);
    mstat varchar2(1);
    mstat1 varchar2(30);
    mstat2 varchar2(30);
    mstat3 varchar2(30);
    mstat4 varchar2(30);
    begin
    mstat:='N';
    mpn:=pno;
    mdes:=pdes;
    for i in c1 loop
    mstat:='N';
    mstat1:='N';
    mstat2:='N';
    mstat3:='N';
    mstat4:='N';
    mpno1:=i.partnum;
    mpartnum:=i.partnum;
    mdescription:=i.description;
    maircraft_type:=i.aircraft_type;
    for j in c2 loop
    mpno2:=j.partnum;
    end loop;
    for k in c3 loop
    mpno3:=k.partnum;
    end loop;
    for l in c4 loop
    mpno4:=l.partnum;
    end loop;
    for m in c5 loop
    mpno5:=m.part_no;
    end loop;
    if mpno2=mpartnum then
    mstat1:=mpno2;
    end if;
    if mpno3=mpartnum then
    mstat2:=mpno3;
    end if;
    if mpno4=mpartnum then
    mstat3:=mpno4;
    end if;
    if mpno5=mpartnum then
    mstat4:=mpno5;
    end if;
    if mpno1=mpartnum then
    mstat:='Y';
    insert into tmpcat values(mpno1,mdescription,maircraft_type,mstat1,mstat2,mstat3,mstat4);
    end if;
    end loop;
    end;
    Java program compiling time, it not showing any error. But after executing, it is not inserting any data into 'tmpcat' table and throwing the following error :
    Flag Raisedjava.sql.SQLException: ORA-06550: line 1, column 14:
    PLS-00357: Table,View Or Sequence reference 'A' not allowed in this context
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    [07/22/03 11:47:38][executor-0][W]: Handling error; throwable is "null", status
    code is "404" and message is "Not Found: /User/Ecatalog/Validations.js".
    [07/22/03 11:47:38][executor-0][W]: Handling error; throwable is "null", status
    code is "404" and message is "Not Found: /User/Ecatalog/Validations.js".
    Any one please help me to solve the issue.
    With thanks
    Pramod kumar.
    My Email-id is : [email protected]

    What are p and d in
    "{call Allsch("+p+","+d+")}"
    Something tells me you might need some quotes in this statement since they are varchar2. Maybe
    "{call Allsch('"+p+"','"+d+"')}"
    If this doesn't work try to cut off parts of the procedure until it works.
    Mike

  • Re: PLS-00357 Table,View Or Sequence reference 'string' not allowed in this con

    i have the same problem , can somebod help
    i pasting my code here , please help me resolving
    SQL> declare
      2  continue char(1):='y';
      3   begin
      4  while(continue='y')
      5  loop
      6  dbms_output.put_line('somen');
      7  dbms_output.put_line('do u wan continue');
      8  continue:=to_char(&continue);
      9  end loop;
    10  end;
    11  /
    Enter value for continue: y
    old   8: continue:=to_char(&continue);
    new   8: continue:=to_char(y);
    continue:=to_char(y);
    ERROR at line 8:
    ORA-06550: line 8, column 19:
    PLS-00357: Table,View Or Sequence reference 'Y' not allowed in this context
    ORA-06550: line 8, column 1:
    PL/SQL: Statement ignored

    Just to emphasise Sven's point that the substitution variable (&continue) is resolved once and "compiled" into the code, try making a stored procedure instead of an anonymous block.
    SQL> create procedure p as
      2     continue char(1):='y';
      3  begin
      4     while(continue='y') loop
      5        dbms_output.put_line('somen');
      6        dbms_output.put_line('do u wan continue');
      7        continue:=('&continue');
      8     end loop;
      9  end;
    10  /
    Enter value for continue: q
    old   7:       continue:=('&continue');
    new   7:       continue:=('q');
    Procedure created.
    SQL> select text from user_source
      2  where name = 'P'
      3  order by line;
    TEXT
    procedure p as
       continue char(1):='y';
    begin
       while(continue='y') loop
          dbms_output.put_line('somen');
          dbms_output.put_line('do u wan continue');
          continue:=('q');
       end loop;
    end;
    Note that where you had the substitution variable, there is now a literal value, q in my case.  Note that because I did not respond with y for the value of continue I can safely run this procedure.
    SQL> exec p;
    somen
    do u wan continue
    PL/SQL procedure successfully completed.
    John

  • Header and first column fixed in the table

    Hi,
    Our requirement is that we want to fix header and first column of the table.
    It means that when we will move right or down through scroll bar then header and first column should be fixed.
    Thanks,
    Anumit

    Hi,
    To fix header, the approach followed can be as following:
    a) Create dedicated table for header with no rows visible
    b) Set the property to FIXED (I do not rememeber proprty)
    c) Create another table with header visiblity to NONE and all data rows visible
    For First Column fix: the following approach could be tried:
    a) New Transparent container: Matrix layout
    b) 2 tables A and B adjacent to each other : B in scroll container[only horizontal scroll enabled] and both associated with same node.
    c) A will have only one column and B will have remaining columns
    regrads,
    ganga

  • Button is not coming in the first row of a table view

    Hi,
    I am having an assignment block in which i have added a button in DO_PREPARE_OUTPUT method. It is displaying in the second line in the header of the table view and the first line shows the excel and personalization buttons. I want all these buttons to display on the same line in the assignment block.
    the .html code is below
       <%@page language="abap" %>
    <%@extension name="thtmlb" prefix="thtmlb" %>
    <%@extension name="chtmlb" prefix="chtmlb" %>
    <%@extension name="bsp" prefix="bsp" %>
    <%@extension name="tajax" prefix="tajax" %>
    <%
      data: lv_xml          type string value is initial.
      DATA: lv_displayMode  TYPE crmt_boolean.
      lv_xml    = controller->CONFIGURATION_DESCR->GET_CONFIG_DATA( ).
      lv_displayMode = controller->view_group_context->is_view_in_display_mode( controller ).
    %>
    <%
      IF lv_displayMode eq abap_true.
    %>
    <%--<chtmlb:tableExtension tableId = "ResultList"
                           layout  = "FIXED" >--%>
    <chtmlb:configTable id                    = "Table"
                        navigationMode        = "BYPAGE"
                        onRowSelection        = "select"
                        selectedRowIndex      = "<%= ADMINS->SELECTED_INDEX %>"
                        selectedRowIndexTable = "<%= ADMINS->SELECTION_TAB %>"
                        selectionMode         = "<%= ADMINS->SELECTION_MODE %>"
                        table                 = "//ADMINS/Table"
                        usage                 = "ASSIGNMENTBLOCK"
                        visibleRowCount       = "6"
    <%--                    actions          = "<%= controller->gt_button %>"--%>
    <%--                    actionsMaxInRow       = "6"--%>
                        width                 = "100%"
    <%--                    headerVisible         = "TRUE"--%>
                        hasLeadSelection      = "X"
                        personalizable        = "FALSE"
                        downloadToExcel       = "FALSE"
                        showNoMatchText       = "FALSE"
                         />
    <%--</chtmlb:tableExtension>                     --%>
    <%
      ELSE .
    %>
    <chtmlb:tableExtension tableId = "Table"
                           layout  = "FIXED" >
    <chtmlb:configTable id               = "Table"
                        displayMode      = "<%= lv_displayMode %>"
                        navigationMode   = "BYPAGE"
                        onRowSelection   = "select"
                        selectedRowIndex = "<%= ADMINS->selected_index %>"
                        table            = "//ADMINS/Table"
                        usage            = "ASSIGNMENTBLOCK"
                        visibleRowCount  = "6"
                        selectionMode    = "<%= ADMINS->SELECTION_MODE %>"
                        allRowsEditable  = "TRUE"
                        personalizable   = "FALSE"
                        downloadToExcel  = "FALSE"
                        headerVisible    = "TRUE"
                        hasLeadSelection = "X"
                        visibleFirstRow       = "<%= ADMINS->visible_first_row_index %>"
                        actions          = "<%= controller->gt_button %>"
    <%--                actionsMaxInRow       = "6"--%>
                        width            = "100%" />
    </chtmlb:tableExtension>
    <%
      ENDIF .
    %>
    Could you please let me know where i went wrong.

    In your code
    if(rs.next()){
      depflights = new ArrayList();
       while(rs.next()){ ...when you call rs.next() in the if statement, the resultset cursor has been placed on the first record and you are not reading it. So, you never get the first record.
    Change your code to remove that if condition and simply initialize the ArrayList.

  • Order by in MATERIALIZED VIEW not work successfully with first column (ID)

    Dears,
    I am trying to create a Materialized View as below:
    CREATE MATERIALIZED VIEW HR.MV_EMP
    PCTFREE 10
    MAXTRANS 255
    TABLESPACE users
    STORAGE (
    INITIAL 65536
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    BUILD IMMEDIATE
    REFRESH ON DEMAND
    AS
    SELECT *
    FROM employees
    where rownum < 5000 order by employee_id desc ;But while querying the MATERIALIZED VIEW, it did not work successfully as the data did not appear in the accurate order.
    I tried to create the same MATERIALIZED VIEW but order by another column (Column Date), it worked successfully and the data appeared in the accurate order.
    It means that MATERIALIZED VIEW not work successfully with the first column (id).
    Can you please help me in this ?
    Thanks & regards,,

    A few pointers :
    1. As has been pointed out, the ROWNUM has been incorrectly placed. ROWNUM values are assigned as rows are fetched from the source before the ORDER BY. You need to ORDER BY first (in a SubQuery) and then ROWNUM afterwards (outside the SubQuery).
    2. I wonder why you want only the last 5000 EMPLOYEE_IDs. What if Employee_ID 1 is still an active employee (he is the founder, first employee and CEO ?). There could be very many "low" EMPLOYEE_IDs that are still active.
    3. Logically I would expect some filter other than the ROWNUM ... ORDER BY to be used to select candidate rows. Then, an ORDER BY in the CREATE query would be unnecessary.
    4. When querying the Materialized View you must explicitly ORDER BY (irrespective of whether you did or did not do an ORDER BY in the CREATE ...)
    5. How do you expect to refresh the MV ? Will it always be a COMPLETE Refresh ? Remember that your "5000 employees" filter would likely exclude older employees at the next refresh. If you use some other filter, it should be consistent across all refreshs.
    Hemant K Chitale

  • "Pie chart in pivot view  showing only the first column's results" in obiee

    Hi,
    In my pivot view(pie chart view+pivottable),i'm getting only the first column's result in pie chart..
    I have added a column named *'A*' in rows and '*moneyspent*' in measuresfield and the '*period*' in the columnsfield in the pivot view.I'm calculating the sum of
    the rows and columns..
    I'm not getting the sum valueof moneyspent in the pie chart..instead i'm getting only the first column of period in the pivot table in the pie chart.
    can anyone tell how can i get the sum value of pivot table in pie chart?
    Thanks in advance..

    Hi Prash,
    let me try to give you an example based on the paint sample:
    Use Markets.Region, Products.Brand, 'Sales Measures'.Units
    choose a pivot view to display the result: region goes into the rows-section, Brand goes into the columns-section and Units into the measures-section
    In the columns-section add a total using the 'add total' at 'Measure Labels' level
    the result is a total column on the right side of the pivot.
    looking like this:
    Units
    Brands
    Region Enterprise Magicolor Mccloskey Valspar Units Total
    Central 1032.....
    Eastern 1485......
    Southern 824.....
    Western 580
    What I am looking for is a new column 'Units Total pct'.
    If I duplicate the measure to show the values in percent, I'll get a second column per Brand (showing the absolute and percentage values) - that's what I don't want
    Regards
    Andy

Maybe you are looking for

  • IMac i7 External Microphones not working

    Out of the box, no external microphone will work! I have tried many. It seems the system does not even notice that something is plugged in to that port. Is anybody else having this issue? Could this be a factory hardware defect? Tried Soundflower and

  • CODE INSPECTOR - help

    hi gurus I have a misterious error in the CODE INSPECTOR. My function module was already implemented but code inspector show that it is not implemented. I use netweaver 7.10 in Syntax Check/Generation ->Test of Environment Determ. Function Group /PAC

  • Missing refresh button PP information system report

    Hi Expert, Our system has been upgraded to ECC6.0 from 4.6C, after that we found the refresh button missing in the PP report COOIS, COMAC... We can select refresh in menu but is it possible to get the refresh button and how? Thanks Hailiang

  • Major Memory leak when switching between themes

    I currently have the 9630 on the Sprint network. I have about 3 themes installed on the device. Every time I switch themes, the phone will drop about 10 to 15 mb even more within minutes. I am not sure if it will drop more because I end up reseting t

  • No more Running hot!! Thank you for your Help, I've got the Conflict

    Hello every Body, with your help i find the conflict. Its a citrix datai, which i remove-Since this time it works without any noisee. Thank u. If you need the Name of the data, so let me know!!