嗨,有这个WCF服务和消费,是工作。我的问题是,第7列可能是空的,所以在客户端,我想删除所有第7列为空的行。任何帮助都将受到欢迎。
function GetPedidosAll(muser) {
jQuery.ajax({
cache: false,
type: "GET",
url: "/_vti_bin/XP/Requests.svc/GetPedidosListAll/" + muser +
"/" + $("#sel_state").val() + "/" + $("#sel_project").val(),
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (data) {
$("#lista_pedidos").bootstrapTable({
data: data
});
},
error: function (jqXhr, status) {
$("#img_Progress").hide();
MessPopups("e", status.message);
}
});}谢谢你,JL
发布于 2015-07-15 22:30:07
success: function (data) {
data = jQuery.grep(data, function (a) {
return a.Permissao !== "";
});
$("#lista_pedidos").bootstrapTable({
data: data
});
}https://stackoverflow.com/questions/31431021
复制相似问题