Gradually build a grid with values ​​from forms at DHTMLX

Hello futuredba,

You are receiving this notification because you are watching the topic,
“Gradually build a grid with values ​​from forms” at “DHTMLX Forum”. This
topic has received a reply since your last visit. You can use the following
link to view the replies made, no more notifications will be sent until you
visit the topic.

If you want to view the newest post made since your last visit, click the
following link:

I opened a topic on this forum, after I received this email:

viewtopic.php?f=2&t=31381&p=98344&e=98344

If you want to view the topic, click the following link:
viewtopic.php?f=2&t=31381

If you want to view the forum, click the following link:
viewforum.php?f=2

If you no longer wish to watch this topic you can either click the
“Unsubscribe topic” link found at the bottom of the topic above, or by
clicking the following link:

viewtopic.php?uid=14114&f=2&t=31381&unwatch=topic


Thanks, The Management

but none of this email link does not work, I do not understand what is happening, can someone help me please.

here is the answer to your post from Pacific15:

Hello

You can get user data from form like this

var myInput = form.getItemValue('form_input_1')

and then add myInput to existing grid

grid.addRow(rowNewId,myInput,-1)

or I think you can send data to PHP file

form.send(get_form.php)

(I´m using this)

[code]$.ajax({
url : “get_form.php”,
async : false,
type : ‘POST’,
data: {
myinput:myInput

  }
}).done(function(result) {
    console.log(result);
    })[/code]

and then construct grid

<?php echo "<rows>"; echo "<row id='1'>"; echo "<cell ><![CDATA[ ".$_GET['myinput']." ]]></cell>"; echo "</row>"; echo "</rows>"; ?>

This might not be the best ideas (and probably there are easier way to achieve what you want)
But I use this because it is simple for me and understandable
If you want to save data you can use DataProcessor

Here is something that might come handy
docs.dhtmlx.com/doku.php?id=dhtmlxform:it_save
dhtmlx.com/docs/products/doc … index.html
dhtmlx.com/docs/products/dht … _grid.html