Grid Control: how properly add data to new row?

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

Phil,

I'm trying out your Grid Control, however, I am having a problem filling
things in the grid properly, in that when I add a new row, the last column
doesn't show
anything except the same thing that's in the first column.

Maybe you or someone who has used the GridControl can see what I'm doing
wrong?

--<code snippet follows:>

-- grid column layout is:  file name, checkbox1, checkbox2, directory name
  newRow = {fName,"","",dirName }
-- dirName & fName DO have respective proper content, I checked

--global constant EmptyGridRow = {"", 2, "", "", 0, True}  -- example from a
demo
                                                                            
        --for a different layout

  -- Add new row to grid:
  row = EGW_AddDataRow(aGrid, newRow, EGW_LAST)
  void = EGW_SetDataRowFlag(aGrid, row, EGW_ROW_NEW, True)

-- also fails to include dirName if I comment out the above "void" function

Dan Moyer

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

Search



Quick Links

User menu

Not signed in.

Misc Menu