A couple of notes, for now off list. I really like slickgrid, I
haven't found anything comparable. I am new at javascript, have been
doing middleware python for many years.
I am trying to add a selectlist editor control and have it working
pretty well but have encountered a problem I can't seem to solve. I
have tried adding various things to slick.grid handleKeyDown() to
prevent the left / right arrow keys being propagated on to the select
control. The select list is created after entering this function and
processing gotoDir... and you have codded it such that it should not
allow the event to bubble up... however after the control is created
it receives the arrow event and moves in the options list displaying
the next/previous entry to the selected value. If I enter the cell via
Tab or shift-Tab all is OK.
If you have any ideas or could suggest a different list to post the
problem to that would be great.
When I get it working I would be happy to post the code for others to use.
I also found what appears to be a bug in how you handle onAddNewRow.
I tried to use the code as in; example and it sort of worked but had a
couple problems.The first is where it is called, you were calling it
in commitCurrentEdit() and then only if there had been a change in the
previous cell. I was populating one of the columns in the new row with
a default value, and the code didn't get hit until the second col in
the new row was entered. by moving this code to gotoDir() and not
doing the delete of last row from grid data it works for me. I guess
if one were to get to the new row via mouse click it would fail, I
will work on that part. The other thing is that the api / hook you
provided was passing value which was the value of which ever was the
current cell when entering the new row, this doesn't seem to have any
use as it is possible to down arrow or enter Return from last cell in
last row etc. so if one wants data from some specific cell it is
accessible in the grid and then you know what you are getting. At any
rate I will send you my changes and if you wish you can make them
available. Or let me know what I should do to make them available.
thanks again for a great piece of software,