| | |
| | | pageTo: function(pageNo) { |
| | | var start = this.url.indexOf('pageno'); |
| | | var end = this.url.indexOf('&', start); |
| | | var replaceStr = this.url.substring(start, end); |
| | | var replaceStr = this.url.subString(start, end); |
| | | this.url = this.url.replace(replaceStr, 'pageno=' + pageNo); |
| | | |
| | | this.refresh(); |
| | |
| | | column.render(element.body, this.value, this.row, this.grid); |
| | | } |
| | | else { |
| | | if(column.field.substring(0, 8) == 'constant'){ |
| | | element.body.html(column.field.substring(8)); |
| | | if(column.field.subString(0, 8) == 'constant'){ |
| | | element.body.html(column.field.subString(8)); |
| | | } |
| | | else{ |
| | | element.body.html(this.value); |