Case sensitive in "Add Record"

QuestionsCase sensitive in "Add Record"
Denislav Kostov asked 2 months 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 2 months 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
PHP Grid Framework
 
Denislav Kostov answered 2 months 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 2 months ago

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

Line 42-60

Screenshot:

_________________________
Abu Ghufran - Dev Team
PHP Grid Framework
 
Your Answer

3 + 1 =

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 / 5. Vote count:

As you found this post useful...

Follow us on social media!

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

Let us improve this post!