volosoft / jtable

A JQuery plugin to create AJAX based CRUD tables.
http://www.jtable.org
1.1k stars 505 forks source link

Before create form in Jtable jquery #1044

Open foxgenki opened 10 years ago

foxgenki commented 10 years ago

I'm working with Jtable Jquery. There is an event that's raised when an edit or create form is created for a record.


formCreated: function (event, data) {
  //  Actions...
}

but is there an event that's raised before edit or create form for a record, for example BeforeFormCreated ?

Any suggestion will be helpful, thanks

trygveb commented 10 years ago

No. You can see that for yourself if you browse the API documentation (and the code). What do you need that for?

toomuchcoffeecoder commented 10 years ago

One thing I had to learn is that if you are going to do an ajax query on the formCreated event it needs to be called with async property set to false so it completes before the form is is rendered. Just saying because it sounds like you might be wrestling with an issue like that.