EasyUI Forum
May 07, 2024, 05:05:24 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: New and Edit loads same fields in form  (Read 4050 times)
Johan
Newbie
*
Posts: 1


View Profile
« on: December 01, 2013, 02:44:31 AM »

Dear All

I am using the Basic CRUD Application. Lets say I have 2 tables users and employees but I am using the same code but in different folders and I have renamed the files accordingly. Instead of having static field names I load it with a query and it works great both in the data grid and form (New and edit).

There is my problem.

Then I open Users the data grid and the add, edit form is fine but selecting (via menu) the Employees the data grid is fine (gets updated with the new data) but when I want to Add or Edit it recalls the Users fields and not the Employees. It is the same if I do it the other way around, first the employees and then the users. It always recall the previous form information.

Please advise.

Regards
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!