franklt69
22 Feb 2007, 2:18 PM
Hi I am using setValueAt in datamodel and work ok I did it:
in columns 1 of currentRow I set value = 1, to me it is a flag column
dmAddress.setValueAt(1, currentRow, 1);
when I do it in the grid appear in column 1 the value 1 it is ok, when I send the xml to server in this column appear the value 1, but now I want to use filter and I added this:
dmAddress.setValueAt(1, currentRow, 1);
dmAddress.filter({1: '0'}); //only show me the rows where in column 1 has value 0 and work ok,
but when I send the xml to server always this column have value 0, should be 1 why?
if I set a comment in //dmAddress.filter({1: '0'}); work ok I get correct value in the server
kind regards
Frank
in columns 1 of currentRow I set value = 1, to me it is a flag column
dmAddress.setValueAt(1, currentRow, 1);
when I do it in the grid appear in column 1 the value 1 it is ok, when I send the xml to server in this column appear the value 1, but now I want to use filter and I added this:
dmAddress.setValueAt(1, currentRow, 1);
dmAddress.filter({1: '0'}); //only show me the rows where in column 1 has value 0 and work ok,
but when I send the xml to server always this column have value 0, should be 1 why?
if I set a comment in //dmAddress.filter({1: '0'}); work ok I get correct value in the server
kind regards
Frank