first you need to set the table item type then call the draw procedure:
for (i=0;i<numTableRows;i++)
{
TblSetItemStyle(tableP,i,0,customTableItem);
}
for(i=0 ; i<numTableCols ; i++)
{
TblSetColumnUsable(tableP , i ,true );
}
TblSetItemStyle(tableP,0,0,customTableItem); //for column item type
//then call draw procedure
TblSetCustomDrawProcedure(tableP,0,DrawCustomDrawItem);
things should workout..
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/