subgrid open icon formatting

Questionssubgrid open icon formatting
Anthony Kam asked 1 year ago

1. For the subgrid, I want to change the “>” symbol to a different symbol, or image, or a button.
If possible, how?

3 Answers
Abu Ghufran Staff answered 1 year ago

To change the subgrid icon, refer to this grid option.

$opt["subGridOptions"]["plusicon"] = "ui-icon-carat-1-e";
$opt["subGridOptions"]["minusicon"] = "ui-icon-carat-1-s";

You can see all icon css classes here: https://github.com/mkkeck/jquery-ui-iconfont
append “ui-icon-” before icon name in above sheet.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Abu Ghufran Staff answered 1 year ago

Most likely this font is updated and we’re using older version. I’ll update + test new version and update you back.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Abu Ghufran Staff answered 1 year ago

I tried for your case but all related JS libraries needs to be updated for that and it’ll take more testing time.

As an alternate, we also support fontawesome free icons. So you can use:

$opt["subGridOptions"]["plusicon"] = "fa fa-paperclip";
_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

15 + 0 =

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?