Lines between rows are not visible

I have an issue in generating a list using widget.newTable(). Lines in my list which separate the rows are not visible between some rows. When I scroll my list, they start getting shown but as soon as it done scrolling again lines between some rows become vanished.
May be there is a need to set some parameter but I am following the sample ListView1 code. Is there someone tell me what I am doing wrong?

--rendering each row local function onRowRender( event ) print("in row rendering") local row = event.target local rowGroup = event.view --local label = rowTitles[row.index] print("inddex is "..row.index) --print("printing label title") print("in rendering rows with title "..rowTitles[row.index].title) local title = display.newText( string.sub(rowTitles[row.index].title,6) , 0, 0, native.systemFontBold, 25 ) title:setTextColor(0) title:setReferencePoint( display.CenterLeftReferencePoint ) title.x = rowGroup.contentWidth\*0.05 title.y = rowGroup.contentHeight \* 0.3 row.title = title rowGroup:insert(title) local subtitle = display.newText( rowTitles[row.index].subtitle, 0, 0, native.systemFont, 18 ) subtitle:setTextColor(0) subtitle:setReferencePoint( display.CenterLeftReferencePoint ) subtitle.x = rowGroup.contentWidth\*0.05 subtitle.y = rowGroup.contentHeight\*0.8 row.subtitle = subtitle rowGroup:insert(subtitle) --Setup the delete button delbutton = widget.newButton { style = "blue1Small", label = "DELETE" , onPress = onDeletePress } delbutton.x = display.contentWidth\*0.95 delbutton.y = rowGroup.contentHeight\*0.7 delbutton.isVisible = false row.deletebutton = delbutton rowGroup:insert(delbutton) end [import]uid: 173824 topic_id: 35902 reply_id: 335902[/import]