Is it possible to hide the inbetween rows in jTable

I want to Hide the particular Rows within a jTable. For example the first column of the jTable contains the Values are,
1
2
3
4
5
6
7
etc.,
in an ascending order.
I want to Hide the Even numher rows like 2,4,6,...etc.,
Is it possible?

Look at some of these they may help.
Searched on "filter jtable"
http://onesearch.sun.com/search/onesearch/index.jsp?qt=filter+jtable&subCat=&site=dev&dftab=&chooseCat=javaall&col=developer-forums
rykk

Similar Messages

  • Is it possible to hide the save function and only use the save as function in teststand

    Hi,
    When i'm done building a sequence i want to prevent other engineers to save the sequence with the same filename (or version number).
    Is it somehow possible to "hide" the save button and only use the save as function?
    Or is there another possiblity to solve my problem.
    The idea is to have a sequence called Sequence_V1.0.seq which i have build. When installing this in a factory enviroment I would like whenever there is a change needed in the sequence that the version number increases (manual action) (becomes Sequence_V1.1.seq). So from the moment you want to save i would like to only have the function save as. In this way you are obligated to fill in a new sequence name (original sequence will be read-only)
    What would even be great if there could be a log of what the changes were
    Thx!!! 

    1) You could mark the file as read-only, by default you would then not be able to save over it. The user could make it not read-only though if they know what they are doing.
    2) Another possibility is to lock the sequence file for editing (this is a teststand feature). Go to the Sequence File Property dialog, on the advanced tab, where it says Password Protection, set it to Not Editable and give it a good password. This doesn't however keep someone from saving another file to the same name as the locked one, but they at least won't be able to saved the locked file again without your password, nor will they be able to edit it.
    Hope this helps,
    -Doug

  • Is it possible to hide the yellow box that appears when you scroll over any object in the form?

    Is it possible to hide the yellow box that appears when you scroll over any object in the form? This box contains the item name or caption.

    Hi,
    Under Tools ... Options ... Workspace, there is an option "Display Object Name Tool Tips While Pointing".
    Try clearing that.
    Bruce

  • Is it possible to hide the links in the DBI HRi module

    Hi All,
    Module: DBI HRi
    Is it possible to hide the links in the reports in DBI - HRi module.
    Example: Employee Details Report:
    when I open this report, it shows some of the links in the report below. i.e. Employee Absence Details.
    I would like to hide those links. Is it possible do the same with the standard functionality.
    Regards,
    GR.

    Hi,
    It would be great if you could share the solution with us.
    Thanks,
    Hussein

  • Does anyone know if its possible to hide the numbers that appears on the Table of content?

    In iBooks Author, I would like to know if its possible to hide the numbers that appears on the Table of contents, does anyone know?. Also I would like to change the yellow color that appers on the mini pics on the image gallery widgets, does anyone know if this is possible?
    Thanks in advance

    I don't believe doing either is possible.
    Michi.

  • Hide the Table Row Scroller

    Hello ,
    I am on EP7.0 NW04s and want to hide the Table Row Scroller ...the one which says "Row 1 of 4" for eg: ....is there any table property I can modify to achieve this..
    Any help would be highly appreciated.

    Hi Subahsh,
    For Hiding RowScroller, footerVisible setting will not work.
    If you want to hide the Row scroller then do following steps
    (1).IWDTable t = (IWDTable)view.getElemnt("Table");
    (2)t.setVisibleRows(2);
    (3)then delete the rows which you do not want to show..
    and before deleting copy it some where.
    Or the other way to handle the problem is :-
    TableNode----
    > ActualNode create both in the context
    Keep all contents in your actual Node.
    And when you want to update the number of rows...
    then invalidate TableNode( it will clear the table node).
    And the again copy Elements from ActualNode.
    And keep a count of the number of elements, set the visibility of row to that count..
    In this way the scroller will never come...
    See basic of this concept is that you have to keep the VisibleRow setting same as number of elements in your table.
    feel free to ask queries
    Regards,
    Praveen
    Message was edited by:
            Praveen Kumar Pandey

  • How to hide the specified rows in the output of the report?

    Hello all,
        I have a requirement where i have to hide some of the lines (<b>initial 6 lines</b> that is <b>6 rows</b>) in the output of the report.
    How would I go about doing this?
    Thanks for you time.

    Hello Sai,
    I believe this is query output ( e.g., )
    Country   Sales
    India        $100
    USA        $200
    Germany  $300
    You want to hide the line Germany  $300
    Case 1:
        If you can change the query, Filter on Country and exclude Germany
    Case 2:
        If you can not change the query, use url appending and filter out Germany
    Check webapi reference for the exact commands
    Case 3:
        Only if you are using the NW2004s front-end, Report designer will be available for you. In this, you can delete the rows that you do not want and publish in web.
    Case 1 and 2 solutions are available in older versions of front-end as well.
    Regards,
    Sheik Bilal

  • How to hide the all rows except the result row in a report?

    Hi Experts,
    We have a report in which the user is interested to see only the result rows and I need to HIDE the characteristics in the rows. I was successfull in doing the same for Key figures in columns using "Calculate single value as suppress result". But I am not finding a way out to hide the characteristics in the rows.
    If I move the characteristics in rows to Free characteristics, the result row is not getting dispalyed. Also, the characteristics are  used dynamically by the formulae in columns and hence i cant remove these characteristics from the query. . The user wants the query to contain only one characteristic in the row and the result row for the key figures in columns. The report currently displays Invoice level data for each customer and this needs to be eliminated and it should display the summarised  data for every customer. Please suggest how this can be accomplished
    Regards,
    Kavitha

    Moving the char to free char will show the equivalent of result.
    Your issue likely is that this breaks the calculations since you do want the calculations done at detail level.
    To achieve this, move your char to free char (say it is 0CUSTOMER).
    For the CKF/Formula, go to aggregation tab, set the exception aggregation as Total (or whatever it was in standard behavior) and specify reference characteristic (in this case 0CUSTOMER), also check the 'Before aggregation' if you have that checkbox there.
    This will ensure the calculation is done at detail level even though the char is not included in the rows.
    If you have multiple chars to be moved to free char but included in detailed calculation, you will need to build cascading CKFs (CKF1 with ref char1, CKF2 eq to CKF1 with exception aggr on ref char2...and so on).
    Added:
    I understand you do want 0CUSTOMER in there, but something else (let us say 0DOCNO) removed. Use 0DOCNO in place of 0CUSTOMER in the case described above.
    Edited by: Ajay Das on Aug 5, 2009 8:57 AM

  • Is it possible to hide the detail for a field in infotype screen for users

    Hi,
    My requirement is that.
    1) For a group of users in IT0002 screen the content of SSN field would be shown as XXXXX where for some users it will show the actual value in PA20,PA30. This is not MOLGA specific, this would be user specific.
    Is it possible to do that. I was trying with the exit ZXPADU01 but not working. I believe T588M will also not work in that case.
    Please suggest on that.
    Thanks & Regards,
    Sandip

    Hi,
    Instead of presenting the SSN as XXXX, you can simply hide the field using screen modifications and feature P0002. The key here is using field group USERG (user group) in the decision tree. The prerequisite is assigning the set of users to a user group (UGR parameter) through SU3. That value will be the return value under USERG in the feature.
    Hope this helps.
    Donnie

  • Is it or will it ever be possible to hide the notifocation bar when using firefox? Either with an extension or as an included setting?

    is there an option i havent found that will allow me to hide the notification bar while using firefox (similar to whats possible with opera mobile) if not is it likely to be added in a future update? as i dont think extensions have enough permissions to hide the notification bar.

    hello, there's the fullscreen addon: https://addons.mozilla.org/mobile/addon/full-screen-252573/

  • Is it possible to hide the Event Browser in FCPX

    This would be super helpful when using scopes and color grading! Anyone know how to do this, or if it's possible?
    eric

    More Apple stupidity.
    What possible, rational, sane reason is there for not being able to hide the Event Browser?
    I can't even begin to express the idiocy of this.
    Apple software usability foolishness goes from strength to strength.
    Unbelievable.
    Just... unbelievable.
    /sigh
    Hah... only just realised that I already posted in this thread just over a year ago!
    What's going on with this Apple usability nonsense?
    I surmise that Apple are in fact Aliens. I really cannot think of another explanation for why they deny sensible software interaction.

  • Is it possible to hide the data in a formatted cell until the data from the relevant cells has been entered?

    I have a balance sheet and I'd like to be able to hide the data in the balance column until the 'In' or 'Out' for that day has been entered
    Any ideas greatfully received!

    Hi Quinn,
    I am surprized that apple makes me go to a custom rule to chose a white font color.
    To get
    Or use the colour window: View > Show Colors (shift command c).
    Click on a colour to apply it to text of selected cells.
    Drag a colour to the selected cells to apply it as the Fill:
    Some of the features that we thought were lost are just Hidden in Numbers 3! (I can't wait for a decent User Guide).
    Regards
    Ian.

  • Displaying POV toolbar auto hides the first row?

    Hello, just a simple question again from this Hyperion Server Administrator who starts his way on the path of the smart view end user...
    Why does the first row of a essbase smart view excell sheet goes in a hidden state/ mode after selecting the POV toolbar?
    And is ther a way to just leave it unhidden?
    Detlev
    Edited by: Detlev on Feb 28, 2013 5:37 PM
    Edited by: Detlev on Feb 28, 2013 5:38 PM
    Edited by: Detlev on Mar 5, 2013 3:24 PM

    Already explained, see
    Re: SmartView 11.1.2.103 POV usage
    Steve

  • Looping the selected row in JTable

    By default, when the first row in a JTable is selected and the up arrow is pressed, the first row remains selected. What I need in this case is the selected row to change to the last row in the table, in effect creating a circular selection. I might have missed something in the API, but is there a way to (easily) change the default selection behavior?
    I have thought of adding a listener that would select the last row when the up arrow is pressed and the first row is selected, but it seems like a hack. Searching the web has provided little to no help.
    Does anyone know of an elegant way to do this? ...or can anyone provide any links that could be of help?
    Thanks!
    Glenn

    Thanks for the help! I made some minor changes to the code you provided because it was not allowing me to select the first and last row (it just skips them). Also, the row that is selected must be in edit mode in order for it to work.
    Here is the modified code. For simplicity, I just put the operations for the up and down arrow in the same method.
      protected boolean processKeyBinding(KeyStroke ks, KeyEvent e,
                                          int condition, boolean pressed) {
        // if pressed == false, no looping is needed, so perform default action
        if (!pressed)
          return super.processKeyBinding(ks, e, condition, pressed);
        // up arrow
        if (e.getKeyCode() == KeyEvent.VK_UP) {
          // if the current selected row is 0 or less, then loop.
          if (this.getSelectedRow() <= 0) {
            // if the cell is in edit mode, stop editing
            if (this.getCellEditor() != null)
              this.getCellEditor().stopCellEditing();
            int rowCount = this.getModel().getRowCount();
            this.getSelectionModel().setSelectionInterval(rowCount-1, rowCount-1);
            return true;
          } else {
            return super.processKeyBinding(ks, e, condition, pressed);
        } else if (e.getKeyCode() == KeyEvent.VK_DOWN) {
          // if the selected row is the last row, then loop
          if (this.getSelectedRow() >= (this.getModel().getRowCount() - 1) ) {
            // if the cell is in edit mode, stop editing
            if (this.getCellEditor() != null)
              this.getCellEditor().stopCellEditing();
            // loop the selection to the first row
            this.getSelectionModel().setSelectionInterval(0, 0);
            return true;
          } else {
            return super.processKeyBinding(ks, e, condition, pressed);
        } else {
          return super.processKeyBinding(ks, e, condition, pressed);
      }The above code does not attempt to restore the editor component when a new row is selected like the code you provided.
    Thanks again for providing such a thorough example!

  • Cant get the last row in jtable

    Hello all.
    I am trying to get the last row from the table but get "" from it.
    my table has 6 rows and i can get all rows right but the last line I have a problem.
            //creating the table
        for (i=0;i<this.rows;i++)
         model.insertRow(i,new Object[]{"input Y1:",""});
                for ( i=i;i<this.Amount+this.rows;i++)
         model.insertRow(i,new Object[]{"input Amount:",""});
    //end of creatingthis code creats the table that i need and its works right.
    for(i=0;i<rows;i++){
                  fObj.fullData[i] = Double.valueOf(GetData(table, 1, i).toString()).doubleValue();
            int j=0;
            String s=GetData(table, 1, 4).toString();
            //the problem line
            String s1=GetData(table, 1, 5).toString();
        public Object GetData(JTable table, int col_index, int row_index){
        return table.getModel().getValueAt(row_index, col_index);
      }this line i get ""
    String s1=GetData(table, 1, 5).toString();
    Edited by: vitaly87 on 00:41 08/04/2011

    vitaly87 wrote:
    Hello all.
    I am trying to get the last row from the table but get "" from it.
    my table has 6 rows and i can get all rows right but the last line I have a problem.
    this line i get ""
    String s1=GetData(table, 1, 5).toString();Looks right to me, given that your insert ismodel.insertRow(i,new Object[]{"input Amount:",""});(Hint: indexes start at *0* ).
    If it hadn't found the row, I expect you would have got an Exception
    Winston

Maybe you are looking for