ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: roland.kovari@acps-automo on March 01, 2022, 12:17:51 am

Title: Blinking Cell background color
Post by: roland.kovari@acps-automo on March 01, 2022, 12:17:51 am
Is it feasible to create a cell with a blinking background?

         render: function (ui) {
            if  ((!ui.rowData.pq_grandsummary) && (!ui.rowData.summaryRow))
            {
               this.attr({rowIndx: ui.rowIndx, dataIndx: 'partner', attr: { title: ui.rowData.partner + '\nBankszámlaszám: ' + ui.rowData.bankszamlaszam,  style: ((blink == 1) ? 'animation: blinkingText 2s infinite;' : '') } });
            }
         }

You do not do this with this style.
"animation: 2s ease 0s infinite normal none running blinkingText;" This is displayed by querying the cell.

Thanks ....
Title: Re: Blinking Cell background color
Post by: paramvir on March 01, 2022, 11:04:01 am
Please check this updated example for blink text:

https://paramquery.com/pro/demos/condition_style
Title: Re: Blinking Cell background color
Post by: roland.kovari@acps-automo on March 01, 2022, 12:46:01 pm
Thank you!