0 Replies - 1191 Views - Last Post: 04 April 2013 - 05:47 AM

#1 Akshatha Raju  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 9
  • Joined: 13-March 13

Keyboard validation jqxgrid validations not working on mouse click

Posted 04 April 2013 - 05:47 AM

I am using keyboard navigation jqxGrid, in which I am doing some validations like, there are four columns and a 5th column as 'Total', the values entered in these 4 column's should not exceed 100, which imples the 5th column's value should be exactly 100, if it exceeds I am reverting back the values of that column which is makin 'Total' column value more than 100 and throwing alert. These validations are working fine when I am using the 4 arrow keys, but when I enter 120 value in a column and move to the next cell using mouse, validation does not happen at that time. Again when i move back to the cell where value 120 is entered, then validation is happening which is wrong. I am making use of 'cellunselect' event to do this validation. Alternatively 'cellvaluechanged' and 'cellendedit' event also can be used which exhibits the same behaviour. How to make my validations to work using mouse click? Is there any specific event for mouse click available to make this work, or any code which allows mouse click to work? Any help would be appreciated. Thanks in advance!

Is This A Good Question/Topic? 0
  • +

Page 1 of 1