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