// set headings
for (i=0; i<2; i++) {
this.thead[i]=this.tabs[i].createTHead();
- //Rico.addClass(this.tabs[i],'ricoLG_top');
this.thead[i].className='ricoLG_top';
if (Rico.theme.gridheader) Rico.addClass(this.thead[i],Rico.theme.gridheader);
}
var options={};\r
Rico.extend(options, this.buffer.ajaxOptions);
var colnum=typeof(fmt.filterCol)=='number' ? fmt.filterCol : c;
- options.parameters = {id: this.tableId, distinct:colnum};
- options.parameters[this.actionId]="query";
+ options.parameters = this.buffer.formQueryHashXML(0,-1);
+ options.parameters.distinct = colnum;
options.onComplete = this.filterValuesUpdateFunc(c);
new Rico.ajaxRequest(this.buffer.dataSource, options);
break;\r
* @return array of matching column indexes
*/
findColumnsBySpec: function(colAttr, colValue) {
- var result=[]
+ var result=[];
for (var n=0; n<this.options.columnSpecs.length; n++) {
if (this.options.columnSpecs[n][colAttr] == colValue) result.push(n);
}