I am sorry i am triying and i am not getting any good result . Could you help me ? Because for example, the att “recordstotal” is number of records for the query, but mine is dynamic (some json would be of 30 items, another of 2). I am sorry but i am really lost.