naquan Posted May 31, 2019 Share Posted May 31, 2019 I need to handle a list of Selected Row of uniStringGrid as below Add rowModal.selectionchange function in extEvents: function rowModel.selectionchange(sender, selected, eOpts) { ajaxRequest(this, '_rowselectchange', ['Selected='+selected,'eOpts='+eOpts]); } Add AjaxEvent function in Form procedure TfrmTestGrid.aStringGridAjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); var Col,Row:int16; begin if EventName='_rowselectchange' then Memo_Result.Lines.Add('Selected='+Params.Values['Selected']+'; eOpts='+Params.Values['eOpts']); end; Result: Selected=[object Object],[object Object],[object Object],[object Object],[object Object]; eOpts=undefined Could you please instruct me how to extract list of selected row index from the "object" Best regards, Nguyen Anh Quan Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 31, 2019 Share Posted May 31, 2019 35 minutes ago, naquan said: I need to handle a list of Selected Row Hello, Sorry, can you please specify, which edition and build of UniGUI are you using? Quote Link to comment Share on other sites More sharing options...
naquan Posted May 31, 2019 Author Share Posted May 31, 2019 I am testing this trial version: FMSoft_uniGUI_Complete_Professional_1.90.0.1500_Trial Thanks, 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.