Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

CDF - table component - may be bug in server-side pagination

$
0
0
Hi all,
I was testing CDF table component and the functionality of server-side pagination. Component did not work (I did everythink according to this post http://forums.pentaho.com/showthread...te-server-side). After while of debugging, I think, I found problem and fixed it. I editted the file ..\pentaho-solutions\system\pentaho-cdf\js\components\table.js. I replaced the line 100 in paginatingUpdate function as follows:

Original:

paginatingUpdate: function() {
...
this.queryState.setParameters(this.parameters);
this.queryState.setAjaxOptions({async:true});
this.processTableComponentResponse(); //json parameter is missing
}

Fixed:

paginatingUpdate: function() {
...
this.queryState.setParameters(this.parameters);
this.queryState.setAjaxOptions({async:true});
this.queryState.fetchData(this.parameters);
},

(P.S. I use the latest table component from the latest CDE installer)

Then the server-side pagination and sorting started to work.

Problem, that I'm solving now, is, that the searching does not work when server-side pagination is active. What should I do to make it functional. And is it posible to filter rows according to the data in the columns? (I found that search parameters are generating for each column).

Thanks in advance,
Honza

P.S. Sorry for my english

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>