Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

InlineEdit icons for Save and Cancle buttons #1023

Open
Belcev opened this issue Mar 10, 2022 · 2 comments
Open

InlineEdit icons for Save and Cancle buttons #1023

Belcev opened this issue Mar 10, 2022 · 2 comments

Comments

@Belcev
Copy link

Belcev commented Mar 10, 2022

is there a way to change text to icons for InlineEdit buttons?

image

something like
$inlineEdit = $grid->addInlineEdit();
$inlineEdit->getCancleButton->setIcon('times');
$inlineEdit->getSaveButton->setIcon('save');

and if there is from which version?

@f3l1x
Copy link
Member

f3l1x commented Mar 11, 2022

Do we want something like that @paveljanda?

@elring
Copy link
Contributor

elring commented Mar 11, 2022

Hi, I also like to change text to icons in those buttons. But they are submit buttons which usually don't have icons (no easy way). I do it by changing value of those submit texts (ublaboo_datagrid.save and ublaboo_datagrid.cancel) to UTF-8 chars ✔ and ✕.

obrazek

I also modify datagrid template to add the original button caption as button title (mouse over text) and I change order of those buttons (I think Save button should be first in tab-order).

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

No branches or pull requests

3 participants