:: Forum >>
How to make a cursor style is 'wait' while sorting the grid data
Hi,
How to make a cursor style is 'wait' while sorting the grid data, once the
sorting process is over, i want to restate the cursor style again. i.e., default.
I tried with following comments
this.setStyle('cursor','wait');
this.setStyle('cursor','default');
I added the first comment in aw.js
AW.Grid.Controllers.Sort={doSort:function(src,index,header){this.setStyle('cursor','wait');if(!(header=="0" || .........
and added the second comment in end of above statement;
.............this.setStyle('cursor','default')},onHeaderClicked:"doSort"};
But, it won't wirk properly. Can you have any solution for this.
Rabik - Scandent Solutions
Monday, August 7, 2006
Most browsers update DOM elements only after your script exits, i.e. nothing happens if you change the attribute or style multiple times within the same script - only the last value will be rendered.
In your case you should change cursor style to 'wait' and call setTimeout(function(){...}) for the second part of your script allowing the browser to update cursor style.
Alex (ActiveWidgets)
Tuesday, August 8, 2006
Hi,
I have set of data in my ActiveWidgets grid and sorting the first column of the data by ascending order. while i am adding the record to the grid through the hidden JSP i.e., the the main jsp page cannot be submitted
only the grid part alone submitted through the hidden JSP. In this case, i got the blank rows in this grid, once refersh the main jsp i got the records. if i ignore the default sorting, then it's working fine.
Can you have any solution for this.
Rabik - Scandent Solutions
Saturday, August 26, 2006
This topic is archived.
Back to support forum
Forum search