Hello,
I am looking for a way to just apply a multiline box to a specific cell when someone goes in to update the row. The update mode is set to row (which is where I need it). If I can't do a multiline box, is there a way to do a small popup box, or allow editing to occur in the popover?
Thank you,
Alex
That's a pretty great idea, I kind of like that to be honest.
Thanks again for the help!
I see what you are saying now. I don't know how to make that happen.
I did something similar before. I ended up attaching to the editCellStarting event and displayed a jquery dialog with a textarea. Then when the user closed the dialog, I updated the cell.
Michael
Hey Michael,
Thanks again for the reply. I'm aware that I can set the height of the entire row, but that's the exact thing I'm trying to avoid. I want a text box to appear when I click on a SPECIFIC CELL to edit. I didn't know if that kind of functionality was built-in any where, but I just need a text area to overflow the row that a user can edit so they can see what they're typing.
Thanks,
Alex,
If it is the initial height you are seeking then do the following after you set the grid up. Use jquery to change the height of the rows.
$("#grid tr").css("height", "100px");
Thank you both very much for the reply!
I tried the suggested code and also went through the documentation. I believe I'm half-way there, now. I have a multiline box (I also tried textarea, and display: block). The problem is that it's contained within the height of the cell in the grid (which looks to be about ~2 lines worth) despite me setting the height much higher. Am I missing another option?
I do see all of the settings in the columnsettings of the grid itself, but those seem to affect the entire row, when I'd like to just have a box appear when the user is editing a specific cell (and then disappear again when they're not inside of the cell).
Thanks again,