How to set a cell value without changing the rendered value/controls?
How to set a cell value without changing the rendered value/controls?
Debug: http://debug.datatables.net/eyaduw
JsFiddle: https://jsfiddle.net/zaryk/7or72sag/1/
In the JsFiddle, I have a set fields and cells populated (rendered) with text-area that auto size the row and all other row text-area based on the max line return for the row, so that each text-area in the row is the same height. On line 154 of JsFiddle, you will notice, I have commented out the below line to update the cell value. My goal is to just update the cell value, so that the "Copy" button will also grab the newly changed values from the text-area renders. When the line is commented back in, it seems the text-area render is being recreated for that cell and the bindings are being forgotten, which I suppose makes sense if I were wanting to actually update the text-area render value.
$scope.Table.cell($scope.CurrentCell.row, $scope.CurrentCell.column).data(value.replace("\r\n", "\r\n"));
Are there any alternative methods that can be used to achieve the same result?
PS Using the customize option doesn't seem like a very attractive idea.