Load data from database before paging

Load data from database before paging

celiahuangceliahuang 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.

Answers

  • bindridbindrid Posts: 730Questions: 0Answers: 119

    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.

  • celiahuangceliahuang Posts: 17Questions: 5Answers: 0

    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.

This discussion has been closed.