Case sensitive in "Add Record"

QuestionsCase sensitive in "Add Record"
Denislav Kostov asked 5 years ago

Hello. I want to ask how can I do so when creating a new database entry to be without case sensitive! Because i have grid with grouping settings but in case if someone add record like ” sample ” “Sample” they aren’t grouping together.

3 Answers
Abu Ghufran Staff answered 5 years ago

We have update demo to make grouping case insensitive.

Refer Code line 50-56: https://www.phpgrid.org/demo/demos/appearance/grouping.phps

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

Hello. Thank you for the quick answer. I added the new code but I do not think it works. I\’ll take photos to see. Also, can this code be used only for sub grouping ? I have manufacturers and there preducts and i want to group the manufacturers and then if is there any duplicates in there products only then to be grouped (sub grouping) ? See the pictures below…

View post on imgur.com

Abu Ghufran Staff answered 5 years ago

For subgrouping demo code: https://gist.github.com/gridphp/f81feac9df25ffee20238089343cd6fc

Line 42-60

Screenshot:

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

14 + 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?