Nitobi User Forums Forum Index

    (RSS)
Nitobi User Forums
Nitobi Support Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Error with Event in Grid v3.4 and v3.41

 
       Nitobi User Forums Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
jaime.chavarriaga



Joined: 03 Jan 2007
Posts: 1

PostPosted: Thu Jan 04, 2007 12:17 am    Post subject: Error with Event in Grid v3.4 and v3.41 Reply with quote

The onCellFocusEvent for the grid component in the versions 3.4x is sending the wrong parameter to the handler

in the Grid v.3.23, when the event is fired, the function receives a Javascript Object (nitobi.components.grid.OnCellFocusEventArgs), and you can use this object to get information about the selected cell.

In the newer versions, v3.4 and 3.41, the function wrongly receives a reference to the HTML object for the TD tag in the table.

for example, if you use code like this...

Code:

    :
  var OnSelection = function (event) {
    alert(event);
  }         

  grid.setOnCellFocusEvent(OnSelection);


in the 3.23, you receive an "[object Object]" alert... in the newer versions, you receive an "[object HTMLTableCellElement]" alert.

This error broke our application... and we are not able to use the newer functionalities. (May be in the future versions you can distribute the components in different files, for example, to use the new toolbar with the old grid).
Back to top
View user's profile Send private message
joe_nitobi



Joined: 19 Feb 2007
Posts: 302

PostPosted: Wed Apr 04, 2007 6:11 pm    Post subject: Reply with quote

Hello

We have recorded this issue as a bug. Unfortunately, it is still present in the latest version of grid. We hope to have it resolved in an upcoming version of the grid. Thank you for bringing this issue to our attention.
Back to top
View user's profile Send private message
Display posts from previous:   
       Nitobi User Forums Forum Index -> General Questions All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group