Form button positioning & cellCSS not working

Am again testing this new version to see if their is improvements and
I would like to report something.
The parameter cellCss is not working with button in form.

One thing. Is there a quick way to enable the position on the button.
I have a form below and I want the button position to be in the right. I don’t want
to add full:true since this will stretch the button.

Screenshot%20at%202020-03-28%2022-16-31

I want to move the button in the right side.
In dhtmlx v5 their is parameter position: 'left / right' that I can
use easily change the position.

I tried some CSS Rules and it is not working. (I’m CSS noob).

I need help. Thanks.

In the dhtmlxForm css property of the control is applied to the control container itself.
In case of applying to the button element, you need to specify the applying to the button element.
like:

.some_class_for_button button {
float:right;
}

Here is an example:
https://snippet.dhtmlx.com/d44r0wox

1 Like

It works. Thanks.

I would like to request. Add a position parameter next release please. This will make our code cleaner avoiding adding custom css rules.

Thanks for the answer. It works.

Thank you for your note. I’ve sent it to the dev team.

no update for this one? I cannot find position: “left/right” :sob::cry::scream: when can you add this option?

You can use the align property for your form rows/cols:
https://docs.dhtmlx.com/suite/form/api/form_align_config/
Like:
https://snippet.dhtmlx.com/miff6a84

1 Like

This is nice. Thanks :slight_smile: