ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: Syreta on October 08, 2018, 02:34:49 pm
-
Hi,
when I add a new row to my grid, I want to to be able to edit the first cell automatically without a click.
I found the function editFirstCellInRow() for this. But when I call this function, the input field of the first cell is displayed only for a very short moment, then it disappears immediately!
Incidentally, the same happens when I call the function goToPage(). The grid scrolls down to my new added row and after a very short moment it scrolls up to the penultimate (already existing) row.
Do I have to change any initializing options of my grid to get this functions working correctly?
I'm using v5.1...
Thank you in advance for your help!
Best Regards,
Syreta
-
Update:
I think there is no bug in the functions, but in the grid!
When I add a new row to the grid and scroll down manually, the behavior is the same! It scrolls down, I can see my new added row for a short moment and then it automatically scrolls up to the penultimate row and I have to scroll down a second time (but only for the one row I added)... :o
-
It happens because of the auto height of rows.
Please try autoRow: false
-
This works for me - great thanks! :)