Hello,
Formula has invalid result for a "string" dataType columns with a zero-filled 'number' value.
Example code:
$(function () {
var data = [
{column1: '001', column2: 'AAA', column3: '', pq_fn: { column3: 'CONCATENATE(A1,B1)'} }
];
var obj = {
scrollModel: {autoFit: true},
colModel: [
{ title: "column1", width: 100, dataType: "string", dataIndx: "column1" },
{ title: "column2", width: 100, dataType: "string", dataIndx: "column2" },
{ title: "column3", width: 100, dataType: "string", dataIndx: "column3" }
],
dataModel: {
data: data
}
};
$("#grid_row_styles").pqGrid(obj);
});
Both source columns are "string" type.
Result is "1AAA" instead of "001AAA".
Thank you in advance.