Conditional formatting not working for date type cell

QuestionsConditional formatting not working for date type cell
Cristian Szabo asked 9 years ago

I try to use "cellcss" to format a 'date' cell.
The problem is with operator , apparently only '=' OR 'eq' works right. When try to use '<' OR 'lt', it produce unexpected results.

Any suggestion?

Thanks

1 Answers
Abu Ghufran answered 9 years ago

The problem is, it use JS comparison code and date format is not plain numeric.
To resolve this case, recommended way is to make a new column for formatting with

date_format(invdate,'%Y%m%d') as invdate_calc

Refer: https://phpgrid.desk.com/customer/portal/questions/8007309-date-cell-conditional-format

Your Answer

18 + 16 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?