- Mon Mar 14, 2016 4:44 pm
#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:
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
use:
* in dynaform designer, form properties:
* external libs: jquery.js, jquery.mrdk_pmSubGrid.js
* javascript:
Code: Select all
download jquery.mrdk_pmSubGrid.js from $(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")
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 (31.66 KiB) Viewed 1986 times
grid1.jpg (57.83 KiB) Viewed 1986 times