EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: rezzonico on August 25, 2015, 01:51:51 AM



Title: Problem with "Build CRUD Application with edit form in expanded row details"
Post by: rezzonico on August 25, 2015, 01:51:51 AM
Hi all,

please try the following steps:

1) select the following tutorial: http://www.jeasyui.com/tutorial/app/crud3/index.html
2) click twice on the "New" button (you have two new forms)
3) click "Cancel" on the first form
4) click "Cancel" on the second form

... the second form is not deleted and you get the error "row is undefined".

Is it possible to fix this ?

Thanks
Miche


Title: Re: Problem with "Build CRUD Application with edit form in expanded row details"
Post by: stworthy on August 25, 2015, 04:23:12 AM
This issue has been fixed. Please refer to http://www.jeasyui.com/tutorial/app/crud3.php


Title: Re: Problem with "Build CRUD Application with edit form in expanded row details"
Post by: rezzonico on August 25, 2015, 05:10:20 AM
Hi stworthy ,

it works !!
Thanks a lot.

Youst a last question ...
If I understand correctly now your do not need to pass the variable index to show_form.php
Therefore in crud3/index.html I can replace the followind line:
href:'show_form.php?index='+index
with:
href:'show_form.html'

Is it correct ?

Thanks
Miche