Re-Organize Order of Toolbar Icons

QuestionsRe-Organize Order of Toolbar Icons
Bruce Rick asked 1 year ago

I’m curious if there’s an easy way to re-organize the order of the toolbar icons at the top of the tables. I have some custom buttons, then it shows Reset and then Bulk Edit and I’d love to move the Bulk Edit before the Reset button. I figure this has to be pretty easy but I’m not seeing anything on this.

2 Answers
Abu Ghufran Staff answered 1 year ago

Please share the grid related code and screenshot of the issue.

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

Just to log the update, this is doable by:

$opt["bulkedit_options"]["position"] = 4;
$g->set_options($opt);

And for custom toolbar button, with position property.

jQuery('#list1').jqGrid('navButtonAdd', '#list1_pager',
{
	'id'      	: 'emailSelected',
	'caption'      	: 'Email Selected',
	//...
	'position'      : 4
});
_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

13 + 11 =

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?