Highlighting duplicate values in column

QuestionsHighlighting duplicate values in column
Vygandas Pigaga asked 5 years ago

So, duplicate values can exist in my app. Can I highlight “11111” ?

asdasd

11111

11111

11122233

1492299

12215464

1492298

3029931

3030373

 

3 Answers
Abu Ghufran Staff answered 5 years ago

It’s currently not supported.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Andy answered 5 years ago

a solution for this problem is :

 

a) create a view in database. the contens of this is a select idvalue, count(idvalue) as cuenta, from table1 group by idvalue,

b) call the grid by using a custom select sql with left join that include the table and the view including the field cuenta.

c) use custom css where the value is 1 or more (to highlight field ).

d) use custom add or edit to update the table1 correctly.

sorry for my bad english.

 

 

Andy answered 5 years ago

c) use custom css where the value is 2 or more (to highlight field ).

Your Answer

2 + 2 =

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?