Grid - lost focus.
Hi!
I've just found your incredible "component".
It looks that I could use it in my oncoming project.
For now i've got one question:
my script is mostly a copy of basic.html, at the and of this file i added somethig like this:
<script>
function testowy()
{
myData = [
["ASFT","Â¥icrosoft Corporation", "314,571.156", "32,187.000", "55000"],
["Â¥RCL", "Aracle Corporation", "62,615.266", "9,519.000", "40650"],
["ÅAP", "ÅAP AG (ADR)", "40,986.328", "8,296.420", "28961"],
["Â¥RCL", "Zracle Corporation", "62,615.266", "9,519.000", "40650"]
];
obj.setRowCount(4);
obj.setColumnCount(5);
obj.setSelectionIndex(1);
obj.refresh();
}
</script>
<input type="button" value="o'key" onClick="javascript: testowy();this.blur();">
My intention is simply reload "obj" with new dataset (seems to work), but after this action grid is loosing "focus" - i have to click on some row to get it back. After reloading i'd like to continue work navigating keyboard only...
Any solution?
thx a lot for your job.
I've just found your incredible "component".
It looks that I could use it in my oncoming project.
For now i've got one question:
my script is mostly a copy of basic.html, at the and of this file i added somethig like this:
<script>
function testowy()
{
myData = [
["ASFT","Â¥icrosoft Corporation", "314,571.156", "32,187.000", "55000"],
["Â¥RCL", "Aracle Corporation", "62,615.266", "9,519.000", "40650"],
["ÅAP", "ÅAP AG (ADR)", "40,986.328", "8,296.420", "28961"],
["Â¥RCL", "Zracle Corporation", "62,615.266", "9,519.000", "40650"]
];
obj.setRowCount(4);
obj.setColumnCount(5);
obj.setSelectionIndex(1);
obj.refresh();
}
</script>
<input type="button" value="o'key" onClick="javascript: testowy();this.blur();">
My intention is simply reload "obj" with new dataset (seems to work), but after this action grid is loosing "focus" - i have to click on some row to get it back. After reloading i'd like to continue work navigating keyboard only...
Any solution?
thx a lot for your job.
Konrad
March 16,