this.isbusy = this.page_size = null;
this.request_num = 1;
+ this.id = 0;
// Init empty string now.
this.empty_msg = new Element('SPAN', { className: 'vpEmpty' }).insert(opts.empty_msg);
initialize: function(vp, view)
{
- this.id = 0;
this.vp = vp;
this.view = view;
this.clear();
// We can directly write the rownum to the original object
// since we will always rewrite when creating rows.
if (!e.VP_domid) {
- e.VP_domid = 'VProw_' + (++this.id);
+ e.VP_domid = 'VProw_' + (++this.vp.id);
}
e.VP_rownum = this.uidlist.get(u);
e.VP_id = u;