Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderator: amosbatto

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
#828056
How can I add information inside the dropdown without using datasource from database dynamically in JavaScript ?
When I add data in the dropdown using JavaScript I use.
Code: Select all
$("#dropdownName").getControl().append( new Option(value, key ) ); 
And it works. But when I try to add values in the dropdown that is inside of the Grid I don't found a documentation related with that.
I tried this options:
Code: Select all
$("#gridName").getControl(1,positionOfDropdown).append( new Option(value, key ) );
$("#gridName").setValue(new Option(value, key),1,positionOfDropdown);
Without any success.

How should a field be added in the dropdown when is inside of Grid ?

I recently completed a book on ProcessMaker - &quo[…]

Hi, In https://wiki.processmaker.com/3.0/Report_T[…]

reopen form in the draft

Hi Admin, I use function:onDeleteRow on grid the[…]

Hi, since bugs.processmaker.com in no longer avail[…]