Author Topic: copy is not copying space and its length  (Read 2030 times)

jeeva

  • Newbie
  • *
  • Posts: 29
    • View Profile
copy is not copying space and its length
« on: April 20, 2017, 06:01:11 pm »
Dear support,

I have copy the selected row and created new copy row under the selected row.

selected row have 4 length or 8 length space value.For copy row I have used the following code
 
cRow[item] =grid.getRowData({rowIndx: indVal,refresh:true });
var cpdRow=angular.copy(cpyRow);               
grid.addRow({ rowData:cpdRow,rowIndx: sel+1+index,refresh:true });

Is copying only if it is have value ,not space.but in modify
grid.updateRow({ rowIndx: sel,newRow:{'markInfo':'M'},refresh:true }) space also taking while edit and return to the service.

May I know how to copy the column space and length.

thanks
jeeva

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6263
    • View Profile
Re: copy is not copying space and its length
« Reply #1 on: April 25, 2017, 05:15:14 pm »
Your question is not clear to me. Could you rephrase your question and provide an example.