Not able to edit a column value in ng-grid.
Hi Team,
I am having an ng-grid for which most of the columns are editable. But when I double click and try to edit a column value even though I can change the entire text, I am not able to change some specific part of the text alone. For example one value in my row is "Angular js is a new technology", if I want to edit this sentence as "Angular js is a good technology", I am forced to write from the beginning of the sentence instead of just changing the word "new" to "good". Can anybody help me in resolving this issue. Because for my users just as to change one character in a sentence, they are forced to re write the entire sentence.
Any help will be appreciated.
Thanks & Regards, Jewel Jose.
One of the ng-grid examples demonstrates basic cell editing. http://plnkr.co/edit/KJmYbO?p=preview
In that example, you double click to start editing the value. At that point, the entire value is highlighted. If the user only wants to make a small change to the value, they must first deselect the text. To do this they can either click somewhere on the value to place the cursor or use the arrow keys to move the cursor.
If this doesn't help you solve your issue, then I would suggest create an example (using plunker) to help demonstrate the problem.
Hi Wattsbn,
This resolved my issue, really thankful for the help. I was trying to resolve this issue using many work around. Thanks once again for the help.