EuGrid Fix

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

For anybody who uses EuGrid and wonders why it wouldn't sort properly, fix the function EGW_GetColumnIndex to this:

 
function EGW_GetColumnIndex ( integer grid, integer col_id ) 
 
        integer index 
        index=0 
 
        -- Try to find column id in GridCol 
        for i=1 to length(GridCol[grid]) do 
 
                if GridCol[grid][i][EGW_COL_DATACOL] = col_id then --<-- FIXED LINE HERE 
                        index = i 
                        exit 
                end if 
        end for 
 
        return index 
 
end function 
new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu