griview data event, change sort order
Posted: Monday 26th July 2021 11:59am
I've been using the data event in gridview, the data source is a mysql database.
It all works fine.
When changing the sort order of a column in the database result, how is the Data event triggered?
The gridview display is empty after this action.
In other words, if the order of records in hResultMaster is changed, how to invoke the Data event to reflect this change?
It all works fine.
When changing the sort order of a column in the database result, how is the Data event triggered?
Code: Select all
Public Sub Button1_Click()
hResultMaster = hConn.Find("master", "ORDER BY Narrative")
FMain.Activate
End
In other words, if the order of records in hResultMaster is changed, how to invoke the Data event to reflect this change?