Load data from database before paging
Load data from database before paging
celiahuang
Posts: 17Questions: 5Answers: 0
so for a specific field, I want to load data from another table in database.
I want the value to be shown open the page is opened.
How should I do this in server side?
////////////////////////////////////////////////
I should draw data from database
and then load the page
/////////////////////////////////////////////////
It should not be preEdit or preCreate. Because it should happen before users can see the table when loading this page.
This discussion has been closed.
Answers
It is not clear to me what you are trying to do. Are you trying to populate a datatable from two different tables? If so, why not a server side join.
hi bindrid,
some fields are populated by one table in database,
some fields are populated by another table in database.
Editor's server side script only uses one table upon loading.
not sure how to alter that.