Add Button to CRUD grid - styling issue

21 views
Skip to first unread message

The Black Pig

unread,
Nov 15, 2012, 4:32:22 AM11/15/12
to agile-too...@googlegroups.com
Hi,

I want add a button to my CRUD grid via the $crud->grid->addColumn() method.

The button will open a form.

I can add the button ok but it is not being styled in the same way as the other buttons. See the Screen grab

Is this a bug or should I be using a different method/solution for this.

Thanks
BP

The Black Pig

unread,
Nov 15, 2012, 5:08:12 AM11/15/12
to agile-too...@googlegroups.com
Problem solved, my bad!

I had the button as follows:

$crud->grid>addColumn('button','Reset Password','reset_password');

it should have been:

$crud->grid>addColumn('button','reset_password');

Move along, there's nothing to see here!

:)
Reply all
Reply to author
Forward
0 new messages