disable clear form
- Single Page
Posted 14 December 2016 - 10:06 AM
Thanks
Posted 21 December 2016 - 08:12 AM
Well that is a base feature functionality that is needed by every user usually. What you need is custom solution - you can look up for the callback on the save button - that dose some ajax call.. and post the call - it will go back and clear up all the field values in the form. Just look up for that piece of code where it resets the form - comment it out and u will have the desired solution.
Happy GCing :)
Posted 15 January 2017 - 06:57 AM
I am newbie in GC, can you show me more detail that codes?is the location in datatables-add.js?
Thanks very much
Posted 18 January 2017 - 02:11 AM
Well u can lookup the same / identify using firefox developer edition (blue)... i dont preferably use datatables .. so i cannot comment if thats the one or not.!! Search out for ajax calls in the js files.. even i would have done the same.. :) I am not able to share you the code details as i never needed to have such functionality implemented.. ! But shared you basis the architecture level scenario..
Happy GCing :)
Posted 19 January 2017 - 02:08 AM
I found the code and it working now.:-D
Now I have new question.
<code>
$crud->set_relation('ern','employee','{name}-{position}');
</code>
I want to separate name and position into two columns. How to do that Amit
Thank you