Unofficial documentation how to do interesting things and work around problems in ProcessMaker

Moderator: ArturoRobles

Forum rules: Unofficial documentation for features which have not been tested by Quality Assurance or may change in future versions of ProcessMaker
#828448
Hello;
In a dynaform (for example: called "Grid Form"), I created a grid consisting of 10 columns and I want to use this dynaform as a Sub-Form in other dynaforms.
In each of the other dynaforms - which I use the "Form Grid" Sub-Form - I need some of the "Form Grid" columns and I do not need the other columns for show. So for better display, I have to reduce or increase the width of the columns with JavaScript and hide the other columns that do not need to be displayed in current dynaform. And I do this, in another dynaform, for the other columns of that grid.
For example, in dynaform "001", the columns and their widths, should look like this:
1- Width of the first column: 10%
2- Width of the second column: 15%
3- Width of the third column: 30%
4- Width of the fourth column: 17%
5- The fifth column: hidden
6- Width of the sixth column: 22%
7- The seventh column: hidden
8- The eighth column: hidden
9- Ninth column: hidden
10- The tenth column: hidden
(Total column width: 94%)
And in dynaform "002", the columns and their widths, should look like this:
1- Width of the first column: 14%
2- The second column: hidden
3- The third column: hidden
4- Width of the fourth column: 17%
5- The fifth column: hidden
6- Width of the sixth column: 22%
7- Width of the seventh column: 24%
8- The eighth column: hidden
9- Width of the ninth column: 17%
10- The tenth column: hidden
(Total column width: 94%)
Similarly, in other dynaforms, the width of each column, as well as whether or not the columns are displayed, depends on the same dynaform and in JavaScript of that dynaform will specify.
I know how to hide columns By JavaScript. But I did not find a way to change the width of the columns of that grid, using JavaScript.
Friends, can anyone help me?
Thanks a lot.
#828906
<a href="https://www.vidolimo.com/ecommerce-website">سفارش سایت فروشگاهی</a>


<a href="https://www.vidolimo.com/services">هزینه خدمات دیجیتال مارکتینگ</a>



<a href="https://www.vidolimo.com">آژانس دیجیتال مارکتینگ</a>
Dashboards

<a href="https://www.melamandi.com/dogs-pu[…]

123 HP COM SETUP PRINTER SUPPORT

To see the complete list of HP’s printers av[…]

If you want to create photo frame also print with […]

I am currently working through the PM manuals and […]