Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by JK on Nov 16, 2007 04:28
open dhtmlx forum
On row navigation using Up key through dthmlxGrid it gets JS error when reaches the first row

On row navigation using Up key through dthmlxGrid it gets JS error when reaches the first row and

FF:
Error: nrow has no properties
Source File: http://pccmd.com:8173/class/dhtmlX/dhtmlXGrid/dhtmlxgrid.js
Line: 1371

IE:
Line: 1372
Char: 7
Error: '_sRow' is null or not an object

When you use the Down key and reaches the last row - it is ok

Probably is not checked a limit ?
Answer posted by Stanislav on Nov 16, 2007 04:54
Problem confirmed and fixed
You can contact us at support@dhtmlx.com - I will send back fixed version of grid, or just made next small modification in code of dhtmlxgrid.js

locate
k38_0_0:function(){   
    ....
    if (nrow._sRow || nrow._rLoad) return false;

and replace with

    if (!nrow || nrow._sRow || nrow._rLoad) return false;