Skip to main content

How to highlight a row without realtime highlighting

Comments

8 comments

  • Cory Rainbeau

    I see that I can set the default highlighting color to Transparent and then programmatically set the color to whatever I want as a work-around, but would this negatively affect performance with a grid that updates a lot? I won't be setting the highlighting of a row too often.

    0
  • Dapfor Team

    Hi Cory,

    This question has already been asked by one of our clients: http://support.dapfor.com/entries/20368692. But you are right, programmatic and automatic highlighting should not depend on each other. In the new version of the grid the Grid.Highlighting.Enabled property will not prevent from programmatic highlighting. I.e you could disable highlighting from INotifyPropertyChanged interface but still use the Cell.Highlight() method.

    Grid contains a large number of optimizations. What is about cell highlighting, grid is designed for maximum productivity. In particular, highlighting in the invisible region consumes almost no resources. It is also a frequent cell updating turn on internal optimization algorithms. We know very well the domain of application of our product and we can assure you that the grid will not lose its performance. Just turn off the fading effect.

    Best regards,

    The Dapfor Team

    0
  • Cory Rainbeau

    Thank you. Is there a time table as to when this will be available?

    0
  • Dapfor Team

    Hi,

    We have planned a new version in three weeks.

    Best regards,
    The Dapfor Team

    0
  • su myat

    Hello,

    I am currently using the Dapfor gird version v.2.8.0.47743. I added  grid highlight function in grid_rowAdded as follow -


                    gridRow[strColumn].Highlight(TimeSpan.FromMilliseconds(30000), Color.GreenYellow,Color.Navy);

     

    My requirement is to blink cell color in a certain time when new record is added. How do I achieve gird cell color to blink ?

    Your help would be greatly appericated.

    0
  • Dapfor Team

    Hello,

    It's quite easy:

    grid.RowAdded += delegate(object sender, GridRowEventArgs e)
    {
        e.Row[strColumn].Highlight(TimeSpan.FromMilliseconds(30000), Color.GreenYellow, Color.Navy);
    };

    Best regards,

    Dapfor

    0
  • su myat

    Hi ,

    Thanks for your help.

    This highlighted the cell with GreenYellow for the given time.

    Can I get that cell to show blinking highlight color for certain time when new row is added. Can I achieve in my currently using version( v.2.8.0.47743 )?

    Thanks in advance. 

    0
  • Dapfor Team

    Hi,

    Yes, you can. This is a basic feature of the .Net Grid.

    Regards,

    Dapfor

     

    0

Please sign in to leave a comment.

Powered by Zendesk