paginador no funciona
buenos dias tengo el siguiente inconveniente estoy adicionado un paginador a una grid extjs pero al momento de avanzar al siguiente bloque datos no funciona no trae datos le hice la traza y el problema segun veo es que el componente paginador esta enviando mal la variables de start y limit por ejemplo si le digo que el tamaño (pageSize) es de 30 el componente envia 0-30 le doy siguiente (pagina 2) y me envia 30-30 por lo cual el servidor no va a retornar nada y luego le doy siguiente (pagina 3) y envia 60-30 lo cual tambien esta mal no se si este inconeniente es por la veersion de extjs que tengo (3.3.1) y tenga algun bug el comoponente o no se si mi salida del json es correcta
envio codigo extjs
gridFacturasPendientes:function(target){
//se crea el store
var store = new Ext.data.JsonStore({
url: 'control/ClientControl.jsp',
root: 'data',
totalProperty: 'total', //
y el cogido del json por bloque
{"total":259,"data":[{"fchVencPago":"2007-05-18 00:00:00.0","valBase":190000,"fchFact":"2006-07-22 00:00:00.0","numFact":"CO226715 ","valNetPago":190000},{"fchVencPago":"2007-06-14 00:00:00.0","valBase":161163.79,"fchFact":"2007-06-08 00:00:00.0","numFact":"000-88190 ","valNetPago":186950},{"fchVencPago":"2007-07-04 00:00:00.0","valBase":936000,"fchFact":"2007-05-02 00:00:00.0","numFact":"58653 ","valNetPago":936000},{"fchVencPago":"2007-08-19 00:00:00.0","valBase":154983,"fchFact":"2007-07-19 00:00:00.0","numFact":"0056870 ","valNetPago":157434},{"fchVencPago":"2009-06-27 00:00:00.0","valBase":3254000,"fchFact":"2009-01-28 00:00:00.0","numFact":"DS-00333 ","valNetPago":3348366},{"fchVencPago":"2008-12-30 00:00:00.0","valBase":1237129,"fchFact":"2008-09-30 00:00:00.0","numFact":"4185 ASISTCARD ","valNetPago":1237129},{"fchVencPago":"2009-04-30 00:00:00.0","valBase":7852000,"fchFact":"2009-01-27 00:00:00.0","numFact":"0432 ","valNetPago":8153516.8},{"fchVencPago":"2009-08-18 00:00:00.0","valBase":2010200,"fchFact":"2009-04-25 00:00:00.0","numFact":"108007023 ","valNetPago":2162800},{"fchVencPago":"2009-05-12 00:00:00.0","valBase":7248062,"fchFact":"2009-01-17 00:00:00.0","numFact":"C16824 ","valNetPago":7236122.46},{"fchVencPago":"2007-06-19 00:00:00.0","valBase":1208.77,"fchFact":"2006-07-29 00:00:00.0","numFact":"1208772044 ","valNetPago":1208.77},{"fchVencPago":"2007-05-21 00:00:00.0","valBase":26258,"fchFact":"2007-01-05 00:00:00.0","numFact":"6506 ","valNetPago":26258},{"fchVencPago":"2007-09-18 00:00:00.0","valBase":482000,"fchFact":"2007-07-19 00:00:00.0","numFact":"1008-087080 ","valNetPago":482000},{"fchVencPago":"2007-05-20 00:00:00.0","valBase":237.66,"fchFact":"2006-09-16 00:00:00.0","numFact":"2044 ","valNetPago":237.66},{"fchVencPago":"2007-12-24 00:00:00.0","valBase":346900,"fchFact":"2007-09-17 00:00:00.0","numFact":"102112042 ","valNetPago":399380},{"fchVencPago":"2007-09-16 00:00:00.0","valBase":132000,"fchFact":"2007-07-17 00:00:00.0","numFact":"5412 ","valNetPago":153120},{"fchVencPago":"2009-06-10 00:00:00.0","valBase":1.584297E7,"fchFact":"2009-01-10 00:00:00.0","numFact":"138670 ","valNetPago":1.56845403E7},{"fchVencPago":"2007-05-18 00:00:00.0","valBase":1900,"fchFact":"2006-08-19 00:00:00.0","numFact":"CO227392 ","valNetPago":1900},{"fchVencPago":"2009-04-28 00:00:00.0","valBase":428.19,"fchFact":"2009-01-27 00:00:00.0","numFact":"1A-28420 ","valNetPago":428.19},{"fchVencPago":"2007-05-01 00:00:00.0","valBase":404,"fchFact":"2006-10-06 00:00:00.0","numFact":"EX.185/05 ","valNetPago":404},{"fchVencPago":"2007-07-28 00:00:00.0","valBase":404976,"fchFact":"2007-05-27 00:00:00.0","numFact":"C19985 ","valNetPago":469772.16}],"success":true}
gracias por su colaboracion
saludos
¿Conoces a alguien que pueda responder esta pregunta? Comparte el link en Twitter o Facebook
Es necesario registrarse para poder participar en el foro! Si ya tienes una cuenta puedes entrar y comentar en este foro.