Stop rendering rows in data_table

Hello there,
i want to stop showing more rows in my table if a row contains a determined data in one of the columns. How to set the "rendered" attribute for a row? As workarround i could set all following columns to rendered = false.
Any other suggestions?
Regards,
ak

Hi pringi,
i found a solution. I change the list which is underlying my datatable. First time the jsp gets added i decide how to shorten the list. When rendering is recalled i change to the new list.
Regards,
ak

Similar Messages

  • OTF/PS fonts have recently stopped rendering in Flash Pro CS3 on Windows 7/64

    Recently, a number of my OTF/PS fonts have stopped rendering when used in Flash Pro CS3. The fonts appear in the fonts menu, render properly in the font preview popup in the font menu, but the fonts fail to render on stage when used, with certain exceptions:
    --If Bitmap Text is selected, the fonts appear (but aliased)
    --If Anti-alias for animation is selected, then the text appears when text insertion is active in the text box, but vanishes when focus shifts to another element, tool, selection
    In all other cases and for all other settings (yes, including black text with 100% alpha on a white background, etc etc), the text shows solely as transparent. You can select the text (although not see what you're selecting), cut and paste, and as you change the font size, kerning, justification, bold, italic, etc, the text boxes resize as normally expected; simply, the text does not show up.
    The fonts work normally in all other CS3 and Windows applications, and up until about last week (Dec 12 or so), used to work fine in Flash.
    The problem fonts appear to be (primarily Open Type Format) Post Script Outline fonts.
    I have installed all Windows updates, Flash Pro CS3 updates, deleted the Flash user config files, deleted and reinstalled the fonts, and copied the fonts to the C:/user/Program Files/Common/Adobe/Fonts folder.
    There were no new installations (applications, fonts, etc) around the time when the error started showing up, aside from possibly Windows updates.
    Given the timing (worked fine Tuesday, failed on Wednesday), I believe a Windows update may have been at least partially responsible, though perhaps it's the Mayan apocalypse.
    Running Flash Professional CS3 on a Windows 7 64 bit system.

    uninstall windows update kb2753842

  • AE stops rendering when clicking off the window

    When I start rendering a composition, I usually just go to a spare monitor to browse the web and do additional work. However whenever I click onto my new monitor, AE stops rendering and gives me the 'finished sound'. Why doesn't it complete rendering? I have to leave my computer alone and keep a window selected in AE for it to complete.

    We need to know a lot more to help you. Please provide answers to the questions listed here:
    http://forums.adobe.com/thread/961743

  • Premiere Pro stops rendering and gives error message when encounters "RGB Color Corrector"

    Premiere Pro (and also Encore) stops rendering and gives error message when it encounters a clip containing the "RGB Color Corrector" in any clip.  It will process clips without RGBCC, but will stop when it gets to one with RGBCC activavted.  PP will render clips if other effects, such as "Fast Color Corrector", "Color Balance (HLS)", and "Three-Way Color Corrector" are selected. However, these do not have the capabilities that The other color correctors will not do what RGB color corrector does, so I need to have this working to finish a large product that is due to the client.  Please help me..... I am not using the Creative Cloud version, and can't find either a download for the new update from 2013, or a phone number to talk to anyone. 

    Using a Win7 computer with 2.8 quad core processor, 24 gig of ram, Nvidia Quadro 5000 video card.  Don't think I have any plugins.  I looked at one a while back for cleaning up grainy video, but I am not sure I paid for that.  Think I deleted it. 
    Incidentally, someone named Jim on another part of the forum mentioned that this problem has been fixed in the CC version of the program.  I am using the non-CC version because I am 68 years old and only do seminars and documentation video.  Don't need so many bells and whistles, and definitely don't need learning curves every few weeks.  CS6.0.3 works fine for me.  By the way, someone else said that maybe version 6.0.1 might work better and I should revert to that.  Not sure if it is the version i have on the disk upgrade to 5.5 that I purchased in December. 
    As it stands now, I have 7.5 hours of a seminar that is ready to go out the door.  If there is an upgrade I can get from Adobe, maybe you can tell me about it. If I have a setting incorrect in the video output format, maybe I can change that.  So far it just happens with clips in my video that have RGB color correction. 
    Rick

  • Lightroom suddenly stopped rendering previews

    I've been using Lightroom since v1 and have been using v3 since it was released.  All of a sudden tonight, while working on photos that were already in my catalog, Lightroom has stopped rendering previews and is much slower to operate.
    I've optimised my catalog, I've tried purging my cache, I've rebooted etc.  Nothing I've done is helping, if I zoom in in Library view I just see a blury outline that is the existing thumbnail.  Some of my other images don't even have thumbnails anymore.  If I go to Develop view it behaves normally, it's just Library view that seems broken.

    I'd purged the CameraRaw cache, but after no success I ended up deleting my entire "Lightroom 3 Catalog Previews.lrdata" directory (which freed up 30GB of space and took over 10 minutes at the command line).
    Fingers crossed it seems to have resolved my issue... certainly on relaunching Lightroom it's now recreated this folder, hammered my CPU and successfully created new thumbnails for the folder I was viewing in Lightroom.  It's a little concerning just how much it hammered my CPU (100% for about 5 minutes, still sitting at 75% now after nearly 10 minutes) when I was only looking at a folder with 23 images in it... it was also hammering my Lightroom/System disk for the first 5 minutes, but not the disk with my photos on it.
    Oh well, will see if it happens again and I might start to manually delete the previews folder semi-regularly.

  • GOING TO KILL MYSELF!CLIPS STOP RENDERING! HELP!

    I am ready to jump off a tall builing! I created a movie, spend hours editing clips, then all of a sudden the clips stopped rendering. I gave it a whole day to try and complete, b/c I was terrified of closing the progam and losing everything. Well, it's like it just froze. The little red line stopped moving. So I ended up losing the entire movie. I tried to get it out of the trash, but the strangest things is that all of the clips were reduced to 00.00.01 secs. In other words, completely invisisble. I couldn't stretch them back to their original size of about 1.2 secs. So I decided to start the whold **** movie from scratch again. I HAVE TO FINISH THIS PROJECT! So I go to import all of my clips (still and movie), and sure enough, about half render, but the rest are stuck. The red bar stopped half-way in the middle of one picture. WHAT IS GOING ON? PLEASE HELP ME SOMEONE! THIS IS RUINING MY LIFE!!!

    Hi John -
    "...When you are in the middle of a project, never use Software Update...."
    That is sound advice, especially regarding iMovie itself. Not that it does create problems, but rather that it might.
    The original poster does not say whether or not recent updates have been installed, or even if they have, whether the project pre-dated that installation.
    And the wording of your comment suggested that it was necessary to return to earlier versions not only of QT but also of iMovie and the OS!
    I too have noted that some seem to have had problems after the latest QT update, indeed I initiated a topic to check out the extent of this. Most people who responded had no problems at all, so I up-dated my laptop version. It is running flawlessly, and yes, KB imports perfectly.
    My initial response to you was simply to point out that it was rather too dogmatic to state that the update was definitely the cause of the problem.
    By the way, just how many is 'countless'?:-)
    G5 Dual 2.0 ghz   Mac OS X (10.4.9)   1.5 GB RAM; VidCam: Sony DCR TRV80E

  • Crystal Report stops retrieving rows against SAP BW query

    We're running Crystal Reports againist SAP BW and coming up a strange issue. We run the report and the BW query returns rows as normal. However, when the rowset reaches 50K (exactly) the report stops retrieving records. There is no error message - the report simply stops retrieving rows. We know there are additional rows that can be returned by the query. Anyone seen this before?

    Hi,
    what are the versions / patches used on the SAP Side and on the SAP BusinessObjects side ?
    Ingo

  • Table Rendering - Row level vs Column level

    Normally renderers are specified for a given class of data or column of data.
    So, how would you handle rendering requirements that are row or table dependent? For example, how do I:
    a) color alternate lines in a table
    b) change the border of the selected cell
    Traditional Approach
    Most answers in the forum would be something like "use a custom render". Sounds great, but what does it really mean? If all your data is displayed as a String then it really isn't too difficult to create a single renderer with the required logic and add it to the table as the default renderer.
    However, what if you table contains, String's, Dates, Integer's, Double's and Boolean's and you want your cell to retain the default formatting of each data type in addition to the above requirement? Now you have two options:
    a) render by class (multiple renderers). Each renderer would need to implement the default "formatting" of the data (dates: dd-MMM-yyy, numbers: right justified, etc) in addition to the "row/table" rendering requirements. So the answer really becomes "use five custom renderers". Now the "row/table" rendering code is found in 5 classes. Of course you could always move the "row/table" rendering code up to a common base class.
    b) render by table (single renderer). A single custom renderer would be created and would need to implement the default "formatting" for all data types in the table, in addition to the "row/table" rendering. The benefit is that all the rendering code is in one class. An example solution is include for this approach.
    Alternative Approach
    I recently came across an approach where the "formatting" of the data is still done by the default renderers and the "row/table" rendering is done at the table level by overriding the prepareRenderer() method. This approach is much simpler, but the rendering is done in two different places. Is this a problem?
    So, my question is which approach do you prefer:
    a) Traditional Approach - multiple renderers
    b) Triditional Approach - single renderer
    c) Alternative Approach
    Me, I like the alternative approach, but I'm more of a problem solver than I am a designer, so I don't know how the solution fits in a large scale application.
    Hopefully your response will consider:
    a) OO design principles
    b) class reusability
    c) class maintenance
    d) anything else you can think of
    import java.awt.*;
    import java.text.*;
    import java.util.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import javax.swing.table.*;
    public class TableRowRendering extends JFrame
        JTable table;
        Border selected = new LineBorder(Color.GREEN);
        public TableRowRendering()
            //  Model used by both tables
            Object[] columnNames = {"Type", "Date", "Company", "Shares", "Price"};
            Object[][] data =
                {"Buy", new Date(), "IBM", new Integer(1000), new Double(80.50)},
                {"Sell",new Date(), "MicroSoft", new Integer(2000), new Double(6.25)},
                {"Sell",new Date(), "Apple", new Integer(3000), new Double(7.35)},
                {"Buy", new Date(), "Nortel", new Integer(4000), new Double(20.00)}
            DefaultTableModel model = new DefaultTableModel(data, columnNames)
                public Class getColumnClass(int column)
                    return getValueAt(0, column).getClass();
            //  Traditional Approach
            table = new JTable( model );
            table.setPreferredScrollableViewportSize(table.getPreferredSize());
            getContentPane().add(new JScrollPane( table ), BorderLayout.WEST);
            TableCellRenderer custom = new CustomRenderer();
            table.setDefaultRenderer(Object.class, custom);
            table.setDefaultRenderer(String.class, custom);
            table.setDefaultRenderer(Date.class, custom);
            table.setDefaultRenderer(Number.class, custom);
            table.setDefaultRenderer(Double.class, custom);
            //  Alternative Approach
            table = new JTable( model )
                public Component prepareRenderer(
                    TableCellRenderer renderer, int row, int column)
                    Component c = super.prepareRenderer(renderer, row, column);
                    if (!isRowSelected(row))
                        String type = (String)getModel().getValueAt(row, 0);
                        c.setBackground(row % 2 == 0 ? null : Color.LIGHT_GRAY );
                    if (isRowSelected(row) && isColumnSelected(column))
                        ((JComponent)c).setBorder(selected);
                    return c;
            table.setPreferredScrollableViewportSize(table.getPreferredSize());
            getContentPane().add(new JScrollPane( table ), BorderLayout.EAST);
        //  Custom renderer used by Traditional approach
        class CustomRenderer extends DefaultTableCellRenderer
            DateFormat dateFormatter = SimpleDateFormat.getDateInstance(DateFormat.MEDIUM);
            NumberFormat numberFormatter = NumberFormat.getInstance();
            public Component getTableCellRendererComponent(
                JTable table, Object value, boolean isSelected,
                boolean hasFocus, int row, int column)
                super.getTableCellRendererComponent(
                    table, value, isSelected, hasFocus, row, column);
                //  Code for data formatting
                setHorizontalAlignment(SwingConstants.LEFT);
                if ( value instanceof Date)
                    setText(dateFormatter.format((Date)value));
                if (value instanceof Number)
                    setHorizontalAlignment(SwingConstants.RIGHT);
                    if (value instanceof Double)
                        setText(numberFormatter.format(((Number) value).floatValue()));
                //  Code for highlighting
                if (!isSelected)
                    String type = (String)table.getModel().getValueAt(row, 0);
                    setBackground(row % 2 == 0 ? null : Color.LIGHT_GRAY );
                if (table.isRowSelected(row) && table.isColumnSelected(column))
                    setBorder(selected);
                return this;
        public static void main(String[] args)
            TableRowRendering frame = new TableRowRendering();
            frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
            frame.pack();
            frame.setLocationRelativeTo( null );
            frame.setVisible(true);
    }Before you make your final decision. What changes would be required for each solution in the following "what if " scenarios:
    a) what if, you added a Boolean column to the table
    b) what if, you added a second Double column to the table which should be formatted as a currency (ie. 1,234.5 --> $1,234.50).
    Here is an example of a currency renderer:
    class CurrencyRenderer extends DefaultTableCellRenderer
         private NumberFormat formatter;
         public CurrencyRenderer()
              super();
              formatter = NumberFormat.getCurrencyInstance();
              setHorizontalAlignment( SwingConstants.RIGHT );
         public void setValue(Object value)
              if ((value != null) && (value instanceof Number))
                   value = formatter.format(value);
              super.setValue(value);
    }

    Well, here's a partila solution using technique from a link you cited in another thread.
    import tests.basic.tables.ColorProvider;
    import javax.swing.*;
    import javax.swing.table.*;
    import java.awt.*;
    import java.text.NumberFormat;
    public class DecoratedTablePrepareRenderer extends JFrame {
        JTable table;
        private DefaultTableModel model;
        public DecoratedTablePrepareRenderer() {
            Object[] columnNames = {"Type", "Company", "Price", "Shares", "Closed"};
            Object[][] data =
                        {"Buy", "IBM", new Double(80.50), new Double(1000), Boolean.TRUE},
                        {"Sell", "MicroSoft", new Double(6.25), new Double(2000), Boolean.FALSE},
                        {"Sell", "Apple", new Double(7.35), new Double(3000), Boolean.TRUE},
                        {"Buy", "Nortel", new Double(20.00), new Double(4000), Boolean.FALSE}
            model = new DefaultTableModel(data, columnNames);
            table = new JTable(model) {
                //  Returning the Class of each column will allow different
                //  renderers to be used based on Class
                public Class getColumnClass(int column) {
                    return getValueAt(0, column).getClass();
                public Component prepareRenderer(TableCellRenderer renderer, int row, int column) {
                    Component c = super.prepareRenderer(renderer, row, column);
                    if (isRowSelected(row))
                        c.setFont(c.getFont().deriveFont(Font.BOLD));
                    return c;
            ColorProvider prov = new TransactionColorProvider();
            ColorTableCellRenderer renderer = new ColorTableCellRenderer(table.getDefaultRenderer(Object.class),prov);
            ColorTableCellRenderer boolrenderer = new ColorTableCellRenderer(table.getDefaultRenderer(Boolean.class),prov);
            ColorTableCellRenderer doublerenderer = new ColorTableCellRenderer(table.getDefaultRenderer(Double.class),prov);
                    int priceIndex = model.findColumn("Price");
              table.getColumnModel().getColumn(priceIndex).setCellRenderer( new EtchedBorderTableCellRenderer(new ColorTableCellRenderer(new CurrencyRenderer(),prov) ));
            table.setDefaultRenderer(Object.class,new EtchedBorderTableCellRenderer(renderer));
            table.setDefaultRenderer(Double.class,new EtchedBorderTableCellRenderer(doublerenderer));
            table.setDefaultRenderer(Boolean.class, new EtchedBorderTableCellRenderer(boolrenderer));
            JScrollPane scrollPane = new JScrollPane(table);
            getContentPane().add(scrollPane);
        class CurrencyRenderer extends DefaultTableCellRenderer {
            private NumberFormat formatter;
            public CurrencyRenderer() {
                super();
                formatter = NumberFormat.getCurrencyInstance();
                setHorizontalAlignment(SwingConstants.RIGHT);
            public void setValue(Object value) {
                if ((value != null) && (value instanceof Number)) {
                    value = formatter.format(value);
                super.setValue(value);
        public static void main(String[] args) {
            DecoratedTablePrepareRenderer frame = new DecoratedTablePrepareRenderer();
            frame.setDefaultCloseOperation(EXIT_ON_CLOSE);
            frame.pack();
            frame.setLocationRelativeTo(null);
            frame.setVisible(true);
        class ColorTableCellRenderer implements TableCellRenderer{
            protected TableCellRenderer delegate;
            protected ColorProvider provider;
            public ColorTableCellRenderer(TableCellRenderer delegate, ColorProvider provider) {
                this.delegate = delegate;
                this.provider = provider;
            public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
                Component c = delegate.getTableCellRendererComponent(table, value,isSelected,hasFocus,row, column);
                  c.setBackground(provider.getBackgroundColor(row, column));
                return c;
          class EtchedBorderTableCellRenderer implements TableCellRenderer{
            protected TableCellRenderer delegate;
            public EtchedBorderTableCellRenderer(TableCellRenderer delegate) {
                this.delegate = delegate;
            public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
                JComponent c = (JComponent)delegate.getTableCellRendererComponent(table, value,isSelected,hasFocus,row, column);
                  JPanel panel = new JPanel(new GridLayout(0,1));
                  panel.add(c);
                  panel.setBorder(BorderFactory.createEtchedBorder());
                return panel;
        class TransactionColorProvider implements ColorProvider {
            private int keyIndex = 0;
            private Color sellColor = Color.yellow;
            private Color buyColor = Color.green;
            public TransactionColorProvider() {
                keyIndex = model.findColumn("Type");
            public Color getBackgroundColor(int row, int column) {
                 if( model.getValueAt(row,keyIndex).equals("Sell")){
                     return sellColor;
                else {
                     return buyColor;
            public Color getForegroundColor(int row, int column) {
                return Color.black;
    }Boolean values are problematical since JCheckBox does seem to like borders, using a panel as I did in the Etched renderer seems to work. This solution need a little more work, this is submitted as a prototype
    Cheers
    DB

  • How to stop table row from being split onto two pages

    How do I stop a row of output from being split between two
    pages. When the CFDocument loads, sometimes, the last row on a page
    "spills" over onto the next. I'd like to figure out who to prevent
    these "orphans" from happening, and force the row onto one page or
    the other.
    Here's my code for the doc... I have a sp that querys the sql
    db. Using CFDocument - CF Version 7.02

    If you know roughly how many lines of output will fit on a
    page (you can test to find out), then you can count result lines
    (you should be able to use RecordCount and do some math) and cfif
    against your counter and force a page break beforehand if the next
    table will be too much to fit on the page. Then just reset the
    counter after you page break.

  • Premiere Pro CC will not stop rendering

    Premiere Pro CC 7.2.1
    Windows 7
    In the past 2 weeks, PP will not stop rendering frames on the timeline. As the "frames rendering" amount increases, so does the frames to be rendered. It never ends and when I cancel the render, nothing has even rendered.
    Any ideas?
    Thanks in advance

    I have been editing in AVC - Intra 100 1080i and when rendering the sequence it does not stop. It will say "Rendering frame YYY of XXX." However, "XXX" quantity keeps growing and the whole process does not end. Additionally, the "Green Line" does not appear nor does the playback improve after extensive rendering. 
    After reading the above comments, I created another sequence in HDV 1080P and it seems to be working fine although the "Time Remaining" is a lie.
    Is there a preferred quality/format for editing? I typically will include various formats and still photography in my sequences.  
    Additionally, I have not found a way to change the preview file format as it is grayed out and un-selectable in the Sequence Settings dialogue box. How do I change it and what would be the preferred setting for laptop editing?

  • IMovie stops rendering photos in slideshow

    I was making a slideshow in iMovie when it stopped rendering all of a sudden. There are about 350 rendering tasks left and no response. I can que up more edits but it won't move the red bars at all. Can someone tell me how to fix this?

    Sounds like a fairly good sized project. Have you checked to make sure that you have sufficient free disk space on your start up disk for iMovie to operate? Should have at least 10GB, and more is better.

  • Files stop rendering after a while! both in media encoder and direct export from timeline

    hi there,
    getting very frustrated here need to deliver a file but each time it stops rendering (each time at the same moment)
    I tried several encodings (mpeg, H264, wmv) with the same disappointing results.
    What i found out is that the first preset i used worked. (i rendered a waveform file for mastering in my audio software)
    When starting te export a new file from the timeline you will see the latest preset you used (in my case windows media audio file)
    then any following preset you choose won't work. Encoding will stop. When restarting the program and going back to the export menu will
    show the first preset i had chosen (the only one that did work) which tells me that any other preset i choose won't work.
    I tried several tricks (import timeline in another one, save copy project etc) non succesfull.
    i work with PC/asus P6T SE/i7 - window 7 professional
    hope anyone can help me with a workaround!
    Frank
    P.S. i succeeded to render the previous file with specific H264 setting using CBR in stead of VBR encoding but can not reproduce it so far!

    hi Arjun,
    no third party plug-ins used.
    General
    Editing mode: Sony XDCAM HD/EX 1080i (SP)
    Timebase: 25,00fps
    Video Settings
    Frame size: 1440h 1080v (1,3333)
    Frame rate: 25,00 frames/second
    Pixel Aspect Ratio: HD Anamorphic 1080 (1.333)
    Fields: Upper Field First
    Audio Settings
    Sample rate: 48000 samples/second
    Default Sequence
    Total video tracks: 3
    Master track type: Stereo
    Audio Tracks:
    Audio 1: Standard
    Audio 2: Standard
    Audio 3: Standard
    Audio 4: Standard

  • Stops rendering to media until I restart the program - when exporting to H.264

    When exporting to media, sequences in Premiere Pro CS6 sometime just stop rendering to media (with no error warning)...until I restart the program. Other times the same sequence will report an "error" for "unknown" causes. This generally happens on a 2 pass variable export rendering to H.264.... but almost never on a CBR renderings. It is almost always solved with restarting Premiere.
    I'm not sure if this is related, but I just built a new system with a terabyte solid state drive and reinstalled CS6 when it seems that these errors began. The preview renderings are being saved to a partition on this drive, but the export renderings go to a different normal spinning Sata drive.
    Any suggestions?

    Others have reported the same thing, and I saw it happen once but can't tell what combination of factors is causing the encoder library to fault. Queuing the sequence into AME doesn't seem to help, nor does rendering with previews.
    The 'workaround' is to export from Premiere in another, high-quality format (e.g. Cineform AVI) then use Media Encoder to convert to H.264. I can't make it crash in standalone mode, even with VBR2.

  • Several times after restarting Final Cut X was very slow and it always kept repeating rendering on same three clips. Later it stops rendering on every restart and the machine was normal and faster. Now it keeps crushing on every restart

    My Final Cut X changed behaviour after conneting the external monitor via HDMI. Several times after restarting Final Cut X was very slow and it always kept repeating rendering on same three clips after every restart. Later the dual screen icon disapeared on the top of my screen and it stops rendering on every restart like before and the machine was normal and faster. Now Final Cut won't start anymore whenever I start it loads and crushes immediately on every restart.

    Upgrade FCPX

  • 1.5 Stops Rendering Unexpectedly

    I assume this is a memory problem. A timeline will stop rendering at some point without warning or any real predictability, writing only a portion of video to disk. I've searched PREFERENCES for some way to massage how Premiere Pro handles its memory use, but no luck. Is this something I must do in Windows instead? Any hints will be deeply appreciated!

    Read Harm on drive setup http://forums.adobe.com/thread/662972?tstart=0
    Work through all of the steps (ideas) listed at http://ppro.wikia.com/wiki/Troubleshooting
    If your problem isn't fixed after you follow all of the steps, report back with ALL OF THE DETAILS asked for in the FINALLY section, the questions at the end of the troubleshooting link... most especially the codec used... see Question 1

Maybe you are looking for