Hi,
I'm having trouble adding a dynamic node in treeview using append.
I added html controls concatenated input text, but when I do the serialization to json using "toJSON" and move to the C # gives error.
How do I use editable template or template and regatando value of input along with the serialization of my treeview?
tried using "template:", but always shows "undefined"...
how do use?????
Ex:
treeview.append(
{
IdNo: objItem.IdNo,
NomeNo: '<input type=\"text\" pattern=\"^[\+\-]{0,1}([ 0-9]+\.){0,1}[ 0-9]+$\" title=\"' + objItem.NomeNo + '\" maxlength=\"30\" class=\"input-medium\" id=\"txtMontante' + objItem.IdNo + '\" name=\"txtMt' + objItem.IdNo + '\" />'
}, treeNodeText);
I'm having trouble adding a dynamic node in treeview using append.
I added html controls concatenated input text, but when I do the serialization to json using "toJSON" and move to the C # gives error.
How do I use editable template or template and regatando value of input along with the serialization of my treeview?
tried using "template:", but always shows "undefined"...
how do use?????
Ex:
treeview.append(
{
IdNo: objItem.IdNo,
NomeNo: '<input type=\"text\" pattern=\"^[\+\-]{0,1}([ 0-9]+\.){0,1}[ 0-9]+$\" title=\"' + objItem.NomeNo + '\" maxlength=\"30\" class=\"input-medium\" id=\"txtMontante' + objItem.IdNo + '\" name=\"txtMt' + objItem.IdNo + '\" />'
}, treeNodeText);