|
Title: Display text in propertygrid remote combobox (2) Post by: mephisto on September 01, 2013, 08:16:09 AM I'll continue here from the previous post (you can find it here: http://www.jeasyui.com/forum/index.php?topic=2079.0 (http://www.jeasyui.com/forum/index.php?topic=2079.0))marked as solved from the owner.
Summary: I've a combobox (provincia) chained to another one (comune). Both comboboxes are populated from data in mysql. Actually the chained comboboxes work correctly but when I save on db (in the relate table I've 2 colums (provincia and comune), also using the code in the example presented here: http://jsfiddle.net/hrvKP/ (http://jsfiddle.net/hrvKP/), and the row is not anymore editable, I see on the "provincia" column the valueField value and not textField string as expected. Here the code: Code: <script type="text/javascript"> Thanks in advance to anyone can help me to find the definitive solution to this code nightmare ;) Title: Re: Display text in propertygrid remote combobox (2) Post by: mephisto on September 02, 2013, 03:28:54 AM I think the problem is in the FORMATTER and ONAFTEREDIT event.
Unlike all the examples about this subject I read and record data in a MySQL DB through php pages. I've found a post about it: http://www.jeasyui.com/forum/index.php?topic=1050.msg2274;topicseen#msg2274 (http://www.jeasyui.com/forum/index.php?topic=1050.msg2274;topicseen#msg2274) I keep trying... |