Re: EuGrid - How to Return Multiple Row Data

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

Hi CK,

Hmm - I think you've found a missing feature.

Something along the lines of this, possibly?

sequence selected_rows = {} 
integer row_count = EGW_GetGridCount(grid) 
 
if row_count>0 then 
 
  for row = 1 to row_count do 
     if 1 = EGW_GetDataRowFlags(grid, row, EGW_ROW_SELECTED) then 
       selected_rows &= EGW_GetDataRow(grid, row) 
     end if 
  end for 
 
end if 

HTH,

Phil

euphoric said...

EuGrid experts, Phil Russell, etc...

My grid is EGW_MULTIPLE-enabled, but how do I get the data of the selected rows? I don't see anything akin to EGW_GetDataRow() for multiple rows, and the code for EGW_GetDataRow() isn't multiple-rows ready.

EGW_GetDataRow()

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

Search



Quick Links

User menu

Not signed in.

Misc Menu