Re: EuGrid - How to Return Multiple Row Data

new topic     » goto parent     » topic index » view thread      » older message » newer message

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 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu