This is a migrated thread and some comments may be shown as answers.

Flashing row/cells

3 Answers 238 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Carl916
Top achievements
Rank 1
Carl916 asked on 15 May 2007, 08:57 AM
Hi

Does your GridView control support flashing/toggle of conditional formatting on a timed basis?

I've managed to set the formatting on the grid before the data is loaded so any new data that gets shown reflects the format specified.

I would like to know if there is any functionality built into the control that might help facilitate this feature.  Otherwise, would simply clearing the conditional formatting and re-applying it as a result of a timer tick suffice or would this be too heavy on processing?

Regards, Carl

3 Answers, 1 is accepted

Sort by
0
Kiril
Telerik team
answered on 15 May 2007, 04:22 PM
Hello Carl,

Currently, there's no support for the functionality you need. And yes, you're right, you can achieve the desired effect by applying and removing the formatting conditions in step with the ticking of a timer. I wrote a simple application to test this approach, and it does achieve the desired effect.

The performance penalty of this approach however, will depend on the size of the grid and the parameters of the machines where you'll be deploying the application.

We surely like to know more about your requirements so we can serve you better. We'd be glad if you describe in more detail the exact scenario you're facing. For example, would you like to have flashing of all rules or just some of them? Would you like the rules to flash over the same interval, or would you like to set that interval individually for every rule?

 
Greetings,
Kiril
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Carl916
Top achievements
Rank 1
answered on 15 May 2007, 04:51 PM
Hi Kiril

Thanks for the reply.  The requirement I have is to set conditional formatting based on the value of two cells.  One would be priority as an integer and the other would be isCritical as a boolean.
A record could then have a priority or 1, 2 or 3; the isCritical would also be true or false.

Lets say I want to apply conditional formatting to priority 1 alarms and have the row flash if isCritical = true.  I would setup two conditions with rule 2 overriding rule 1.

1. rule : priority=1 AND isCritical=false
    formatting : backColor=red AND rowFlash=false
2. rule : priority=1 AND isCritical=true
    formatting : backColor=red AND rowFlash=true

Therefore all alarms with a priority of 1 would show as red and any alarms in a critical state would flash.

All rules would flash over the same interval so the timer could be global to the grid control.  The above scenario requires that some rules flash and some don't.

I hope this makes my requirements a bit clearer.  Let me know if you would like more information.

Regards, Carl
0
Kiril
Telerik team
answered on 22 May 2007, 04:53 PM
Hello Carl,

Thank you very much for the additional information.

We've added this feature to our TODO list. Unfortunately, for now we cannot give you a definite timeframe when this functionality will be available.

 
Kind regards,
Kiril
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
GridView
Asked by
Carl916
Top achievements
Rank 1
Answers by
Kiril
Telerik team
Carl916
Top achievements
Rank 1
Share this question
or