Amy, I know I answered you privately when the group was down, but I wanted to throw the answer in here in case anyone was searching for it:
When I came across this problem I found that it was a known bug. A workaround is to set the showHeader back to true, header height to 0 and the rowcount to the length of your dataprovider. By showing the header it escapes the bug and the height of 0 effectively hides the header. --- In flexcoders@yahoogroups.com, "Amy" <amyblankens...@...> wrote: > > Hi, all; > > I have a datagrid whose rowcount is set to thedataGrid.dataProvider.length -1 > (because the datagrid has no header row, I have to subtract 1). > > The problem is that, even though the datagrid's editable property is set to > false, there appears to be an extra, invisible row at the bottom of the > datagrid that, if you roll over it, will highlight one of the rows (two up > from the bottom). If you click while the highlight is visible, it will add > an extra row to the datagrid. When this happens, the itemClick event does > not fire, so I can't prevent this with preventDefault() on that event. > > Does anyone know what event I should be looking at for this, or whether > there's a property that equates to "don't allow wonky extra invisible row to > be clickable and add data to my dataprovider"? > > Thanks; > > Amy >