Problem in OnBeforePasteEvent and bulk paste

0 views
Skip to first unread message

Mangesh

unread,
Nov 5, 2009, 12:17:08 AM11/5/09
to completeui
Hi,

I am using Nitobi grid for the data input. I have implemented
OnBeforePasteEvent for grid through which I call OnCellValidateEvent
of each cell. It returns false if the data pasted in that cell is
invalid.
I have 4 rows in my grid by default. However, user can copy paste a
data which is larger than 4 rows. In such case, grid should add
remaining rows automatically. Grid does it fine if OnBeforePasteEvent
is not implemented, but when I implement it, I get an javascript error
'Microsoft JScript runtime error: 'null' is null or not an object' at
statement 'var xid=_5c4.getAttribute("xid")||"error - unknown xid";'
for element 'xid' in nitobi.grid.js.

Can you please refer any fix for it?

Regards,
Mangesh
Reply all
Reply to author
Forward
0 new messages