uniguisyriusz Posted July 16, 2019 Share Posted July 16, 2019 Why UniDBGrid1.JSInterface.JSCall('view.refresh', []); causes exception "Attempt to access nil session reference"? Is this problem with thread synchronization? procedure TMainForm.FDQuery1AfterOpen(DataSet: TDataSet); begin DataSource1.DataSet := FDQuery1; UniDBGrid1.DataSource := DataSource1; UniDBGrid1.JSInterface.JSCall('view.refresh', []); end; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.