Re: EuGrid - How to Return Multiple Row Data
- Posted by euphoric (admin) Dec 21, 2010
- 1019 views
Thanks, Phil! :)
Here's the final code:
--*------------------------------------------------------* -- EGW_GetDataRowSel: Get selected rows from dataset --*------------------------------------------------------* global function EGW_GetDataRowSel ( integer grid ) sequence selected_rows = {} integer row_count = EGW_GetRowCount(grid) if row_count>0 then for row = 1 to row_count do if EGW_GetDataRowFlag(grid, row, EGW_ROW_SELECTED) = 1 then selected_rows = append(selected_rows,EGW_GetDataRow(grid, row)) end if end for end if return selected_rows end function