I created a button to do a refresh for client data set and the IWCGJQGrid as well, but it doesnt work.
My grid doesn't refresh with the new data.
procedure TfrmEntry_Documentation.btnQueryJQButtonOptionsClick(Sender: TObject;
AParams: TStringList);
begin
dtmdlmain.OpenConnection;
cdsCUDSearch.Open;
cdsCUDSearch.EmptyDataSet;
cdsCUDSearch.Refresh;
gridSearch.Refresh;
gridSearch.Repaint;
dtmdlmain.CloseConnection;
end;