With a straight clone of the cells in the fixed columns, this presents a problem on form submit if form inputs exist in the fixed columns. The value of the original form input (hidden beneath the clone) is posted.
I was able to get around it with a simple script setting the values before submit, but it would be a nice thing to address in the future.
In case anyone else runs into this, here's the script I used:
$(form).submit(function(){
$(selector).each(function(){
val = $(this).val();
name = $(this).attr("name");
if(val !== ""){
$("input[name='" + name +"'").val(val);
}
});
});
With a straight clone of the cells in the fixed columns, this presents a problem on form submit if form inputs exist in the fixed columns. The value of the original form input (hidden beneath the clone) is posted.
I was able to get around it with a simple script setting the values before submit, but it would be a nice thing to address in the future.
In case anyone else runs into this, here's the script I used: $(form).submit(function(){ $(selector).each(function(){ val = $(this).val(); name = $(this).attr("name"); if(val !== ""){ $("input[name='" + name +"'").val(val); } }); });