Questions and discussion about using ProcessMaker: user interface, running cases & functionality
By mardukBelphegor
#784859
integrates extra functionality into processmaker's grid (v3.0.1.7)

use:
* in dynaform designer, form properties:
* external libs: jquery.js, jquery.mrdk_pmSubGrid.js
* javascript:
Code: Select all
    $(function(){
         $(".pmdynaform-field-grid").mrdk_pmSubGrid({
             loadAlways: false, //true : if we want to send the data every time
             iframe: false, // true: if the displayed section is an iframe, else (false) it will a div tag
             url:'../pmMrdk/pmSubGrid.php', // path of the file is located, if it is in a processmaker plugin use '../pluginName/pluginFile'
             rowOptions: // if we want to add some extra options fill this option
                 [
                     {"label":"delete","urlOption":"../pmMrdk/pmSubGrid.php"},
                     {"label":"send email","urlOption":"../pmMrdk/pmSubGrid.php"},
                     {"label":"approve","urlOption":"../pmMrdk/pmSubGrid.php"}
                 ]
         });
     });

     //to all grids in dynaform use $(".pmdynaform-field-grid")
     //to just a grid use $("#myGridId")
download jquery.mrdk_pmSubGrid.js from
https://mega.nz/#!vdkWkJDS!uagiOyUzSHcp ... T3e1hU4_fs
note: change the .txt extension for .js


i hope anyone can use it and give me some feedback
Attachments
grid2.jpg
grid2.jpg (31.66 KiB) Viewed 1997 times
grid1.jpg
grid1.jpg (57.83 KiB) Viewed 1997 times

Being the best in the started business is the obje[…]

Winzo is a popular and unique game on the mobile p[…]

Cannot create process using templets

Real details. The problem was solved by effect!

However, it is essential to use it responsibly and[…]