specialjyo
specialjyo
Ok, great. It would appear that since I have no idea what columns are coming back, I'll have to preprocess the data, get the data object's keys and use those...
Simple and elegant. And it works. Thanks! I did it this way incase someone ends up here from Google: ``` var buttonTemplate = ''; var inputTemplate = ''; Scope.buildColumns =...
You have access to the row index and model. I have ng-click="saveRow()" on one of my buttons. Inside I grab the index and the model for the current row. ```...
The canSelectRows boolean appears to be ignored.
Updated to the latest, still seeing this bug.
1.8 definitely works, and I believe 1.9, but cant verify at the moment.
@kdimatteo thats using the global enableCellEdit in the gridoptions, this bug is for using column definitions to say a column is editable with a single click, and was working on...
broken in 2.0.5 as well.
Yep, single click, and I return the data type of the element so my inputTemplate gets passed for that row based on type (boolean, string, etc.) Works great in 1.8.
This happens on all of the demos actually. http://angular-ui.github.com/ng-grid/