SPARK Table control is really a improved table compared to IBM BPM out of box Table control. But there are small annoying behaviors which might need a tweak to fix. One of such bug is no support of Enter key press on page SIzer control of Table to change the number of rows per table page. Out of box, you need to press Tab to reflect the change.
To fix this you need to register the Enter key press event to do the stuff. Below is the script you need to add on Table On_Load event to make the Enter key press work.
me._instance._pageSizer.onkeypress = function (event){return (event.charCode >= 48 && event.charCode <= 57) || (event.keyCode == 8) || (event.keyCode == 9) || (event.keyCode == 13);};
To fix this you need to register the Enter key press event to do the stuff. Below is the script you need to add on Table On_Load event to make the Enter key press work.
me._instance._pageSizer.onkeypress = function (event){return (event.charCode >= 48 && event.charCode <= 57) || (event.keyCode == 8) || (event.keyCode == 9) || (event.keyCode == 13);};
Comments
Post a Comment