bc... []
Home » Source Code » Datagrid for JQuery » datagrid.js

datagrid.js ( File view )

  • By 2016-05-18
  • View(s):0
  • Download(s):0
  • Point(s): 1
			function DefaultDataHandler(dt) {

	var _this = this;
	this.message = null;
	this.attach = function() {

		this.message = $('<span>').addClass('scroll-position-info');
		dt.getFooter().append(_this.message);
		dt.getBody().find('.dt-table-records').css('opacity', 0);
		dt.showLoading = false;
		dt.loader.get(0,1, function(data) {

			dt.showLoading = true;
			dt.loading(true);
			
			dt.loader.get(0, data.total, function(data2) {

				dt.getBody().find('.dt-table-records').css('opacity', 1);
				dt.getBody().scroll(function() {

					var rowHeight = $(dt.getDataRows().get(0)).height();
					var size = Math.round((dt.getBody().height() - dt.getBody().find('thead').height()) / rowHeight) -1;
					var pos = dt.getBody().get(0).scrollTop / (dt.getBody().get(0).scrollHeight - dt.getBody().height());
					var apos = Math.floor((data.total - size) * pos);
					_this.message.html(" Showing records " + (apos+1) + " to " + (apos+size) + " of " + data.total);
				
});
				dt.getBody().scroll();
				dt.loading(false);
			
});
		
});
	
};
	
	this.detach = function() {

		dt.clear();
	
};

};

function DataTable(aLoader, options) {

	var _this = this;
	this._element = null;
	
	this.options = options;
	this.columnReferences = new Map();
	this.recordReferences = new Map();
	this.pageChanged = new EventManager();
	this.attached = new EventManager();
	this.resized = new EventManager();
	this.showLoading = true;
	//wrapper to implement caching and displaying
	this.loader = null;
	this._oldcallparams = null;
	
	this.setLoader = function(_loader) {

		_this.loader = {

			cache: [],
			count: -1, //cache of number of total records to expect
			
			get: function(from, to, callback) {

				_this._oldcallparams = {
from: from, to: to, callback: callback
};
				if (_this.showLoading) _this.loading(true);
				var _athis = this;
				_loader.get(from, to, function(data) {

					_athis.count = data.total;

					setTimeout(function() {

						for (var i=from;i < to;i++) {

							_athis.cache[i] = data.items[i - from];
						
}
						
						_this.renderPage(data.items);
						if (_this.showLoading) _this.loading(false);
						callback(data);
					
}, 120);
				
});
			
}
		
};
		_this.refresh();
	
};
	
	this.refresh = function() {

		if (_this._oldcallparams != null) {

			this.loader.get(_this._oldcallparams.from, _this._oldcallparams.to, _this._oldcallparams.callback);
		
}
	
};
	
	this.getRecord = function(elem) {

		if (elem.tagName == 'TR') return this.getRecordByReference(elem);
		return this.getRecordByReference($(elem).parent('tr').get(0));
	
};
	
	this.getRecordByReference = function(tr) {

		return this.recordReferences.get(tr);
	
};
	
	this.getSelectedItems = function() {

		var stms = [];
		$(this._element).find('table.dt-table-records tbody tr.row-selected').each(function() {

			stms.push(_this.getRecord(this));
		
});
		return stms;
	
};
	this.getColumnTh = function(field) {

		var h = this.getHeaderCells();
		for (var i=0;i<h.size();i++) {

			 if (this.getColumnDefinition(h.get(i)).field == field) return h.get(i);
		
};
	
};
	this.getColumnDefinition = function(th) {

		return this.columnReferences.get(th);
	
};
	
	this.getColumnCells = function(th) {

		return $(this._element).find('table.dt-table-records tbody tr td:nth-child('+($(th).index()+1)+')').toArray();
	
};
	
	
	this.getCellValue = function(td){

		var coldef = this.getColumnDefinition(this.getHeaderCells().get(td.cellIndex));
		var r = this.getRecord(td);
		
		return r[coldef.field];
	
};
	this.setCellValue = function(td, value) {

		$(td).empty();
		$(td).append($('<div>').addClass('dt-table-value').html(value));
		var coldef = this.getColumnDefinition(this.getHeaderCells().get(td.cellIndex));
		this.getRecord(td)[coldef.field] = value;
	
};
	
	this.headerCells = [];
	this.getHeaderCells = function() {
return $(this.headerCells);
};
	this.getDataRows = function() {
return $(this._element).find('table.dt-table-records tbody tr');
};
	this.getDataCells = function() {
return $(this._element).find('table.dt-table-records tbody tr td');
};
	this.getCell = function(r, c) {
return $(this.getDataRows().get(r)).find('td').get(c);
};
	this.getSelectedRows = function() {
return $(this._element).find('table.dt-table-records tbody tr.selected');
};
	this.getBody = function() {
return $(this._element).find('.dt-table-body');
};
	this.getContent = function() {
return $(this._element).find('.dt-table-content');
};
	this.getHead = function() {
return $(this._element).find('.dt-table-head');
};
	this.getFooter = function() {
return $(this._element).find('.dt-table-footer');
};
	
	this.selectCell = function(cell) {

		if (cell.firstChild.tagName != 'INPUT') {

			var inp = $('<input>').attr('type', 'text').attr('size', 1).val($(cell).html());
			inp.blur(function() {

				$(cell).removeClass('selected');
				$(cell).html(this.value);
			
});
			inp.focus(function() {

				$(cell).addClass('selected');
			
});
			$(cell).html('');
			$(cell).append(inp);
			inp.focus();
			return false;
		
}
	
};

	this.clear = function() {

		this._element.find('.dt-table-body table.dt-table-records tbody').empty();
	
};
	this.renderPage = function(records) {

		this.recordReferences.clear();
		
		var table = this._element.find('.dt-table-body table.dt-table-records tbody');
		var h = _this.getHeaderCells(), columns = [];
		for (var j=0;j < h.size();j++) columns.push(_this.getColumnDefinition(h.get(j)));
		
	
		table.empty();
		
		var ti = new Date().getTime();
		var html = '';
		for (var i=0;i < records.length;i++) {

			html += '<tr class="' + (i % 2 ==0 ? 'dt-table-row-even':'dt-table-row-odd') + '">';
			for (var j=0;j < columns.length;j++) {

				if (columns[j].renderer != null)  {

					var div = $('<div>');
					div.append(columns[j].renderer.render(columns[j], records[i]));
					html+='<td tabindex="1" class="dt-table-cell"><div class="dt-table-value">'+div.html()+'</div></td>';
				
} else {

					html+='<td tabindex="1" class="dt-table-cell"><div class="dt-table-value">'+records[i][columns[j].field]+'</div></td>';
				
}
			
}
			
			html+='</tr>';
		
}
		table.html(html);
		
		for (var i=0;i < records.length;i++) this.recordReferences.put(table.get(0).rows[i], records[i]);
		
		var tf = new Date().getTime();
		var avg = (tf-ti)/records.length;
		Logger.log(records.length + ' records rendered in ' + (tf-ti) + 'ms, avg: ' + avg + 'ms');
		
		this.pageChanged.trigger(records);
		this.resize();
	
};
	
	this.setTitle = function(title) {

		this._element.find('.dt-table-title').html(title);
	
};
	this.showTitle = function(shownornot) {

		this._element.find('.dt-table-title').css('display', shownornot ? '': 'none');
	
};
	this.showHeader = function(shownornot) {

		this._element.find('.dt-table-header').css('display', shownornot ? '': 'none');
	
};
	this.showFooter = function(shownornot) {

		this._element.find('.dt-table-footer').css('display', shownornot ? '': 'none');
	
};
	
	this.plugins = new Map();
	this.addPlugin = function(reference, plugin) {

		try {

			plugin.attach(this);
		
} catch(e) {

			alert('Could not attach plugin ' + reference);
			throw e;
		
}
		this.plugins.put(reference, plugin);
	
};
	this.hasPlugin = function(reference) {

		return this.plugins.contains(reference);
	
};
	this.removePlugin = function(reference) {

		this.plugins.get(reference).detach(this);
		this.plugins.remove(reference);
	
};
	
	this.addToolbarWidget = function(widget) {

		this._element.find('.dt-table-toolbar').append(widget).css('display', '');
	
};
	
	this.removeToolbarWidget = function(widget) {

		widget.remove();
		var tlb = this._element.find('.dt-table-toolbar');
		tlb.css('display', tlb.children().size() > 0 ? '': 'none');
	
};
	
	
	this.attach = function(el) {

		$(el).append(this._element);
		this.attached.trigger(el);
		$(_this).resize();
	
};
	
	this.resize = function() {

		if (_this.options.height != null) {

			_this._element.find('.dt-table-head-box').width(
				//_this._element.find('.dt-table-body').width() + _this._element.find('.dt-table-body').get(0).scrollLeft
				 _this._element.find('.dt-table-body').get(0).scrollWidth
			);
			//.height(25);
			
			var ths = _this._element.find('.dt-table-body tr:first td div.dt-table-value');
			var tdivs = _this._element.find('.dt-table-head th div.dt-table-value');
			
			var widths = [];
			if (ths.size() == tdivs.size()) {

				tdivs.each(function(index) {

					$(this).width($(ths.get(index)).width());
				
});
			
}
			
			
		
}
		
		_this.adjustHeight();
		_this.resized.trigger();
	
};

	this.adjustHeight = function() {

		if (this.options.height != null) {

			var items = ['.dt-table-header', '.dt-table-head', '.dt-table-footer'], dh = 0;
			for (var i=0;i<items.length;i++) {

				var item = this._element.find(items[i]);
				dh+= item.is(':visible') ? item.height(): 0;
			
}
			
			this._element.find('.dt-table-body').css('height', _this.options.height - dh);
		
} else {

			this._element.find('.dt-table-body').css('height', '');
		
}
	
};
	
	this.setHeight = function(h) {

		this.options.height = h;
		this.resize();
	
};
	
	this.setWidth = function(w) {

		if (this._element != null) {

			if (w != null) {

				this._element.width(w);
			
} else {

				this._element.css('width', '');
			
}
			this.resize();
		
}
	
};
	
	this.loading = function(yesno) {

		var loader = this._element.find('.loader'), body = this._element.find('.dt-table-body'), span = this._element.find('.loader span');
		if (yesno) {

			loader.show();
			loader.css('left', body.position().left);
			loader.css('top', body.position().top);
			loader.css('width', body.width());
			loader.css('height', body.height());
			loader.height(body.height() );
			span.css('left', (body.width() - span.width()) /2);
			span.css('top', (body.height() - span.height()) /2);
		
} else {

			loader.fadeOut();
		
}
	
};
	

	this.init = function() {

		this._element = $("<div>").addClass('datagrid');
		this._element.html(
			'<div class="dt-table-header ui-widget-header ui-corner-top"><span class="dt-table-title">'+_this.options.title+'</span></
...
...
(Not finished, please download and read the complete file)
			
...
Expand> <Close

Want complete source code? Download it here

Point(s): 1

Download
0 lines left, continue to read

File list

Tips: You can preview the content of files by clicking file names^_^
Name Size Date
01.96 kB
all-wcprops298.00 B2011-07-28 14:32
dir-prop-base33.00 B2011-07-28 14:18
entries678.00 B2011-07-28 14:32
01.96 kB
01.96 kB
01.96 kB
dt-core.css.svn-base2.09 kB2011-07-28 14:31
jquery-ui-icons.css.svn-base18.33 kB2011-07-28 14:30
01.96 kB
01.96 kB
01.96 kB
01.96 kB
01.96 kB
01.96 kB
all-wcprops387.00 B2011-07-28 14:32
dir-prop-base33.00 B2011-07-28 14:18
entries628.00 B2011-07-28 14:32
01.96 kB
01.96 kB
01.96 kB
dt-theme.acid-green-oldbrowsers.css.svn-base3.74 kB2011-07-28 14:30
dt-theme.acid-green.css.svn-base5.50 kB2011-07-28 14:31
01.96 kB
01.96 kB
01.96 kB
01.96 kB
dt-theme.acid-green-oldbrowsers.css3.74 kB2011-07-18 18:55
dt-theme.acid-green.css5.50 kB2011-07-28 10:13
01.96 kB
01.96 kB
all-wcprops816.00 B2011-07-28 14:32
dir-prop-base33.00 B2011-07-28 14:18
entries1.28 kB2011-07-28 14:32
01.96 kB
active-v.png.svn-base53.00 B2011-07-28 14:18
active.png.svn-base53.00 B2011-07-28 14:18
glass.png.svn-base53.00 B2011-07-28 14:18
inactive-v.png.svn-base53.00 B2011-07-28 14:18
inactive.png.svn-base53.00 B2011-07-28 14:18
panel.png.svn-base53.00 B2011-07-28 14:18
01.96 kB
01.96 kB
active-v.png.svn-base237.00 B2011-07-28 14:31
active.png.svn-base357.00 B2011-07-28 14:31
glass.png.svn-base165.00 B2011-07-28 14:31
inactive-v.png.svn-base185.00 B2011-07-28 14:31
inactive.png.svn-base219.00 B2011-07-28 14:30
panel.png.svn-base224.00 B2011-07-28 14:31
01.96 kB
01.96 kB
01.96 kB
01.96 kB
active-v.png237.00 B2011-07-14 16:15
active.png357.00 B2011-07-14 16:07
01.96 kB
01.96 kB
all-wcprops492.00 B2011-07-28 14:32
dir-prop-base33.00 B2011-07-28 14:18
entries786.00 B2011-07-28 14:32
01.96 kB
grab.png.svn-base53.00 B2011-07-28 14:18
Xsnap-left.png.svn-base53.00 B2011-07-28 14:18
Xsnap-right.png.svn-base53.00 B2011-07-28 14:18
01.96 kB
01.96 kB
grab.png.svn-base164.00 B2011-07-28 14:32
Xsnap-left.png.svn-base241.00 B2011-07-28 14:30
Xsnap-right.png.svn-base241.00 B2011-07-28 14:31
01.96 kB
01.96 kB
01.96 kB
01.96 kB
grab.png164.00 B2011-07-14 11:58
Xsnap-left.png241.00 B2011-06-24 11:51
Xsnap-right.png241.00 B2011-06-24 11:49
glass.png165.00 B2011-06-27 15:10
inactive-v.png185.00 B2011-07-14 16:19
inactive.png219.00 B2011-07-14 16:09
panel.png224.00 B2011-07-14 16:14
01.96 kB
01.96 kB
all-wcprops85.00 B2011-07-28 14:32
dir-prop-base33.00 B2011-07-28 14:18
entries258.00 B2011-07-28 14:32
01.96 kB
01.96 kB
01.96 kB
01.96 kB
01.96 kB
01.96 kB
01.96 kB
01.96 kB
01.96 kB
all-wcprops1.94 kB2011-07-28 14:32
dir-prop-base33.00 B2011-07-28 14:18
entries2.97 kB2011-07-28 14:32
01.96 kB
blank.gif.svn-base53.00 B2011-07-28 14:18
down_arrow-small.gif.svn-base53.00 B2011-07-28 14:18
filter.png.svn-base53.00 B2011-07-28 14:18
first.png.svn-base53.00 B2011-07-28 14:18
last.png.svn-base53.00 B2011-07-28 14:18
left_arrow-small.gif.svn-base53.00 B2011-07-28 14:18
line.png.svn-base53.00 B2011-07-28 14:18
load.gif.svn-base53.00 B2011-07-28 14:18
next.png.svn-base53.00 B2011-07-28 14:18
previous.png.svn-base53.00 B2011-07-28 14:18
right_arrow-small.gif.svn-base53.00 B2011-07-28 14:18
scroll-down.png.svn-base53.00 B2011-07-28 14:18
scroll-up.png.svn-base53.00 B2011-07-28 14:18
search.png.svn-base53.00 B2011-07-28 14:18
sort.png.svn-base53.00 B2011-07-28 14:18
up_arrow-small.gif.svn-base53.00 B2011-07-28 14:18
01.96 kB
01.96 kB
blank.gif.svn-base43.00 B2011-07-28 14:31
down_arrow-small.gif.svn-base77.00 B2011-07-28 14:30
filter.png.svn-base719.00 B2011-07-28 14:31
first.png.svn-base2.95 kB2011-07-28 14:31
last.png.svn-base2.95 kB2011-07-28 14:30
left_arrow-small.gif.svn-base97.00 B2011-07-28 14:30
line.png.svn-base212.00 B2011-07-28 14:31
load.gif.svn-base673.00 B2011-07-28 14:31
next.png.svn-base2.93 kB2011-07-28 14:31
previous.png.svn-base2.92 kB2011-07-28 14:30
right_arrow-small.gif.svn-base97.00 B2011-07-28 14:31
scroll-down.png.svn-base228.00 B2011-07-28 14:31
scroll-up.png.svn-base223.00 B2011-07-28 14:31
search.png.svn-base736.00 B2011-07-28 14:30
sort.png.svn-base192.00 B2011-07-28 14:30
up_arrow-small.gif.svn-base76.00 B2011-07-28 14:30
01.96 kB
01.96 kB
01.96 kB
01.96 kB
blank.gif43.00 B2011-06-29 11:26
down_arrow-small.gif77.00 B2011-06-29 13:32
filter.png719.00 B2011-07-20 13:10
first.png2.95 kB2011-06-24 16:29
last.png2.95 kB2010-03-15 09:28
left_arrow-small.gif97.00 B2011-06-22 15:45
line.png212.00 B2011-07-14 12:56
load.gif673.00 B2011-06-27 12:46
next.png2.93 kB2010-03-15 09:28
previous.png2.92 kB2011-06-24 16:30
right_arrow-small.gif97.00 B2011-06-22 15:45
scroll-down.png228.00 B2011-07-14 13:32
scroll-up.png223.00 B2011-07-14 13:32
search.png736.00 B2011-07-20 13:14
sort.png192.00 B2011-06-29 13:34
up_arrow-small.gif76.00 B2011-06-29 13:32
dt-core.css2.09 kB2011-07-27 14:53
01.96 kB
01.96 kB
all-wcprops230.00 B2011-07-28 14:32
dir-prop-base33.00 B2011-07-28 14:18
entries442.00 B2011-07-28 14:32
01.96 kB
01.96 kB
01.96 kB
jquery-ui-1.8.14.custom.css.svn-base18.64 kB2011-07-28 14:31
01.96 kB
01.96 kB
01.96 kB
01.96 kB
01.96 kB
01.96 kB
all-wcprops2.44 kB2011-07-28 14:32
dir-prop-base33.00 B2011-07-28 14:18
entries3.10 kB2011-07-28 14:32
01.96 kB
ui-bg_flat_0_aaaaaa_40x100.png.svn-base53.00 B2011-07-28 14:18
ui-bg_flat_0_eeeeee_40x100.png.svn-base53.00 B2011-07-28 14:18
ui-bg_flat_55_994d53_40x100.png.svn-base53.00 B2011-07-28 14:18
ui-bg_flat_55_fafafa_40x100.png.svn-base53.00 B2011-07-28 14:18
ui-bg_gloss-wave_30_3d3644_500x100.png.svn-base53.00 B2011-07-28 14:18
ui-bg_highlight-soft_100_dcd9de_1x100.png.svn-base53.00 B2011-07-28 14:18
ui-bg_highlight-soft_100_eae6ea_1x100.png.svn-base53.00 B2011-07-28 14:18
ui-bg_highlight-soft_25_30273a_1x100.png.svn-base53.00 B2011-07-28 14:18
ui-bg_highlight-soft_45_5f5964_1x100.png.svn-base53.00 B2011-07-28 14:18
ui-icons_454545_256x240.png.svn-base53.00 B2011-07-28 14:18
ui-icons_734d99_256x240.png.svn-base53.00 B2011-07-28 14:18
ui-icons_8d78a5_256x240.png.svn-base53.00 B2011-07-28 14:18
ui-icons_a8a3ae_256x240.png.svn-base53.00 B2011-07-28 14:18
ui-icons_ebccce_256x240.png.svn-base53.00 B2011-07-28 14:18
ui-icons_ffffff_256x240.png.svn-base53.00 B2011-07-28 14:18
01.96 kB
01.96 kB
ui-bg_flat_0_aaaaaa_40x100.png.svn-base180.00 B2011-07-28 14:31
ui-bg_flat_0_eeeeee_40x100.png.svn-base180.00 B2011-07-28 14:31
ui-bg_flat_55_994d53_40x100.png.svn-base213.00 B2011-07-28 14:30
ui-bg_flat_55_fafafa_40x100.png.svn-base180.00 B2011-07-28 14:31
ui-bg_gloss-wave_30_3d3644_500x100.png.svn-base4.14 kB2011-07-28 14:31
ui-bg_highlight-soft_100_dcd9de_1x100.png.svn-base114.00 B2011-07-28 14:31
ui-bg_highlight-soft_100_eae6ea_1x100.png.svn-base108.00 B2011-07-28 14:30
ui-bg_highlight-soft_25_30273a_1x100.png.svn-base165.00 B2011-07-28 14:31
ui-bg_highlight-soft_45_5f5964_1x100.png.svn-base127.00 B2011-07-28 14:31
ui-icons_454545_256x240.png.svn-base4.27 kB2011-07-28 14:31
ui-icons_734d99_256x240.png.svn-base4.27 kB2011-07-28 14:31
ui-icons_8d78a5_256x240.png.svn-base4.27 kB2011-07-28 14:31
ui-icons_a8a3ae_256x240.png.svn-base4.27 kB2011-07-28 14:31
ui-icons_ebccce_256x240.png.svn-base4.27 kB2011-07-28 14:30
ui-icons_ffffff_256x240.png.svn-base4.27 kB2011-07-28 14:30
01.96 kB
01.96 kB
01.96 kB
01.96 kB
ui-bg_flat_0_aaaaaa_40x100.png180.00 B2011-07-18 02:12
ui-bg_flat_0_eeeeee_40x100.png180.00 B2011-07-18 02:12
ui-bg_flat_55_994d53_40x100.png213.00 B2011-07-18 02:12
ui-bg_flat_55_fafafa_40x100.png180.00 B2011-07-18 02:12
ui-bg_gloss-wave_30_3d3644_500x100.png4.14 kB2011-07-18 02:12
ui-bg_highlight-soft_100_dcd9de_1x100.png114.00 B2011-07-18 02:12
ui-bg_highlight-soft_100_eae6ea_1x100.png108.00 B2011-07-18 02:12
ui-bg_highlight-soft_25_30273a_1x100.png165.00 B2011-07-18 02:12
ui-bg_highlight-soft_45_5f5964_1x100.png127.00 B2011-07-18 02:12
ui-icons_454545_256x240.png4.27 kB2011-07-18 02:12
ui-icons_734d99_256x240.png4.27 kB2011-07-18 02:12
ui-icons_8d78a5_256x240.png4.27 kB2011-07-18 02:12
ui-icons_a8a3ae_256x240.png4.27 kB2011-07-18 02:12
ui-icons_ebccce_256x240.png4.27 kB2011-07-18 02:12
ui-icons_ffffff_256x240.png4.27 kB2011-07-18 02:12
jquery-ui-1.8.14.custom.css18.64 kB2011-07-18 12:36
01.96 kB
01.96 kB
all-wcprops202.00 B2011-07-28 14:32
dir-prop-base33.00 B2011-07-28 14:18
entries427.00 B2011-07-28 14:32
01.96 kB
01.96 kB
01.96 kB
dt-theme.gold.css.svn-base3.62 kB2011-07-28 14:32
01.96 kB
01.96 kB
01.96 kB
01.96 kB
dt-theme.gold.css3.62 kB2011-07-13 11:29
01.96 kB
01.96 kB
all-wcprops1.91 kB2011-07-28 14:32
dir-prop-base33.00 B2011-07-28 14:18
entries3.00 kB2011-07-28 14:32
01.96 kB
blank.gif.svn-base53.00 B2011-07-28 14:18
down_arrow-small.gif.svn-base53.00 B2011-07-28 14:18
filter.png.svn-base53.00 B2011-07-28 14:18
first.png.svn-base53.00 B2011-07-28 14:18
last.png.svn-base53.00 B2011-07-28 14:18
left_arrow-small.gif.svn-base53.00 B2011-07-28 14:18
line.png.svn-base53.00 B2011-07-28 14:18
load.gif.svn-base53.00 B2011-07-28 14:18
next.png.svn-base53.00 B2011-07-28 14:18
previous.png.svn-base53.00 B2011-07-28 14:18
right_arrow-small.gif.svn-base53.00 B2011-07-28 14:18
scroll-down.png.svn-base53.00 B2011-07-28 14:18
scroll-up.png.svn-base53.00 B2011-07-28 14:18
search.png.svn-base53.00 B2011-07-28 14:18
sort.png.svn-base53.00 B2011-07-28 14:18
up_arrow-small.gif.svn-base53.00 B2011-07-28 14:18
01.96 kB
01.96 kB
blank.gif.svn-base43.00 B2011-07-28 14:30
down_arrow-small.gif.svn-base77.00 B2011-07-28 14:31
filter.png.svn-base957.00 B2011-07-28 14:31
first.png.svn-base2.95 kB2011-07-28 14:32
last.png.svn-base2.95 kB2011-07-28 14:30
left_arrow-small.gif.svn-base97.00 B2011-07-28 14:30
line.png.svn-base212.00 B2011-07-28 14:32
load.gif.svn-base673.00 B2011-07-28 14:31
next.png.svn-base2.93 kB2011-07-28 14:30
previous.png.svn-base2.92 kB2011-07-28 14:31
right_arrow-small.gif.svn-base97.00 B2011-07-28 14:31
scroll-down.png.svn-base228.00 B2011-07-28 14:31
scroll-up.png.svn-base223.00 B2011-07-28 14:30
search.png.svn-base807.00 B2011-07-28 14:31
sort.png.svn-base192.00 B2011-07-28 14:31
up_arrow-small.gif.svn-base76.00 B2011-07-28 14:32
01.96 kB
01.96 kB
01.96 kB
01.96 kB
01.96 kB
01.96 kB
all-wcprops851.00 B2011-07-28 14:32
dir-prop-base33.00 B2011-07-28 14:18
entries1.27 kB2011-07-28 14:32
01.96 kB
active-v.png.svn-base53.00 B2011-07-28 14:18
active.png.svn-base53.00 B2011-07-28 14:18
glass.png.svn-base53.00 B2011-07-28 14:18
inactive-v.png.svn-base53.00 B2011-07-28 14:18
inactive.png.svn-base53.00 B2011-07-28 14:18
panel.png.svn-base53.00 B2011-07-28 14:18
01.96 kB
01.96 kB
active-v.png.svn-base237.00 B2011-07-28 14:30
active.png.svn-base357.00 B2011-07-28 14:31
glass.png.svn-base165.00 B2011-07-28 14:31
inactive-v.png.svn-base185.00 B2011-07-28 14:30
inactive.png.svn-base219.00 B2011-07-28 14:30
panel.png.svn-base224.00 B2011-07-28 14:31
01.96 kB
01.96 kB
01.96 kB
01.96 kB
active-v.png237.00 B2011-07-14 16:15
active.png357.00 B2011-07-14 16:07
glass.png165.00 B2011-06-27 15:10
inactive-v.png185.00 B2011-07-14 16:19
inactive.png219.00 B2011-07-14 16:09
panel.png224.00 B2011-07-14 16:14
01.96 kB
01.96 kB
all-wcprops468.00 B2011-07-28 14:32
dir-prop-base33.00 B2011-07-28 14:18
entries780.00 B2011-07-28 14:32
01.96 kB
grab.png.svn-base53.00 B2011-07-28 14:18
Xsnap-left.png.svn-base53.00 B2011-07-28 14:18
Xsnap-right.png.svn-base53.00 B2011-07-28 14:18
01.96 kB
01.96 kB
grab.png.svn-base164.00 B2011-07-28 14:30
Xsnap-left.png.svn-base241.00 B2011-07-28 14:31
Xsnap-right.png.svn-base241.00 B2011-07-28 14:30
01.96 kB
01.96 kB
01.96 kB
01.96 kB
grab.png164.00 B2011-07-14 11:58
Xsnap-left.png241.00 B2011-06-24 11:51
Xsnap-right.png241.00 B2011-06-24 11:49
blank.gif43.00 B2011-06-29 11:26
down_arrow-small.gif77.00 B2011-06-29 13:32
filter.png957.00 B2011-06-27 12:48
first.png2.95 kB2011-06-24 16:29
last.png2.95 kB2010-03-15 09:28
left_arrow-small.gif97.00 B2011-06-22 15:45
line.png212.00 B2011-07-14 12:56
load.gif673.00 B2011-06-27 12:46
next.png2.93 kB2010-03-15 09:28
previous.png2.92 kB2011-06-24 16:30
right_arrow-small.gif97.00 B2011-06-22 15:45
scroll-down.png228.00 B2011-07-14 13:32
scroll-up.png223.00 B2011-07-14 13:32
search.png807.00 B2011-06-30 10:43
sort.png192.00 B2011-06-29 13:34
up_arrow-small.gif76.00 B2011-06-29 13:32
01.96 kB
01.96 kB
all-wcprops198.00 B2011-07-28 14:32
dir-prop-base33.00 B2011-07-28 14:18
entries425.00 B2011-07-28 14:32
01.96 kB
01.96 kB
01.96 kB
dt-theme.ice.css.svn-base5.45 kB2011-07-28 14:30
01.96 kB
01.96 kB
01.96 kB
01.96 kB
dt-theme.ice.css5.45 kB2011-07-26 16:54
01.96 kB
01.96 kB
all-wcprops1.89 kB2011-07-28 14:32
dir-prop-base33.00 B2011-07-28 14:18
entries3.00 kB2011-07-28 14:32
01.96 kB
blank.gif.svn-base53.00 B2011-07-28 14:18
down_arrow-small.gif.svn-base53.00 B2011-07-28 14:18
filter.png.svn-base53.00 B2011-07-28 14:18
first.png.svn-base53.00 B2011-07-28 14:18
last.png.svn-base53.00 B2011-07-28 14:18
left_arrow-small.gif.svn-base53.00 B2011-07-28 14:18
line.png.svn-base53.00 B2011-07-28 14:18
load.gif.svn-base53.00 B2011-07-28 14:18
next.png.svn-base53.00 B2011-07-28 14:18
previous.png.svn-base53.00 B2011-07-28 14:18
right_arrow-small.gif.svn-base53.00 B2011-07-28 14:18
scroll-down.png.svn-base53.00 B2011-07-28 14:18
scroll-up.png.svn-base53.00 B2011-07-28 14:18
search.png.svn-base53.00 B2011-07-28 14:18
sort.png.svn-base53.00 B2011-07-28 14:18
up_arrow-small.gif.svn-base53.00 B2011-07-28 14:18
01.96 kB
01.96 kB
blank.gif.svn-base43.00 B2011-07-28 14:31
down_arrow-small.gif.svn-base77.00 B2011-07-28 14:30
filter.png.svn-base957.00 B2011-07-28 14:31
first.png.svn-base2.95 kB2011-07-28 14:30
last.png.svn-base2.95 kB2011-07-28 14:31
left_arrow-small.gif.svn-base97.00 B2011-07-28 14:31
line.png.svn-base212.00 B2011-07-28 14:31
load.gif.svn-base673.00 B2011-07-28 14:30
next.png.svn-base2.93 kB2011-07-28 14:31
previous.png.svn-base2.92 kB2011-07-28 14:32
right_arrow-small.gif.svn-base97.00 B2011-07-28 14:30
scroll-down.png.svn-base228.00 B2011-07-28 14:31
scroll-up.png.svn-base223.00 B2011-07-28 14:31
search.png.svn-base807.00 B2011-07-28 14:31
sort.png.svn-base192.00 B2011-07-28 14:30
up_arrow-small.gif.svn-base76.00 B2011-07-28 14:30
01.96 kB
01.96 kB
01.96 kB
01.96 kB
01.96 kB
01.96 kB
all-wcprops844.00 B2011-07-28 14:32
dir-prop-base33.00 B2011-07-28 14:18
entries1.27 kB2011-07-28 14:32
01.96 kB
active-v.png.svn-base53.00 B2011-07-28 14:18
active.png.svn-base53.00 B2011-07-28 14:18
glass.png.svn-base53.00 B2011-07-28 14:18
inactive-v.png.svn-base53.00 B2011-07-28 14:18
inactive.png.svn-base53.00 B2011-07-28 14:18
panel.png.svn-base53.00 B2011-07-28 14:18
01.96 kB
01.96 kB
active-v.png.svn-base237.00 B2011-07-28 14:32
active.png.svn-base357.00 B2011-07-28 14:31
glass.png.svn-base165.00 B2011-07-28 14:31
inactive-v.png.svn-base185.00 B2011-07-28 14:31
inactive.png.svn-base219.00 B2011-07-28 14:31
panel.png.svn-base224.00 B2011-07-28 14:30
01.96 kB
01.96 kB
01.96 kB
01.96 kB
active-v.png237.00 B2011-07-14 16:15
active.png357.00 B2011-07-14 16:07
glass.png165.00 B2011-06-27 15:10
inactive-v.png185.00 B2011-07-14 16:19
inactive.png219.00 B2011-07-14 16:09
panel.png224.00 B2011-07-14 16:14
01.96 kB
01.96 kB
all-wcprops464.00 B2011-07-28 14:32
dir-prop-base33.00 B2011-07-28 14:18
entries779.00 B2011-07-28 14:32
01.96 kB
grab.png.svn-base53.00 B2011-07-28 14:18
Xsnap-left.png.svn-base53.00 B2011-07-28 14:18
Xsnap-right.png.svn-base53.00 B2011-07-28 14:18
01.96 kB
01.96 kB
grab.png.svn-base164.00 B2011-07-28 14:32
Xsnap-left.png.svn-base241.00 B2011-07-28 14:30
Xsnap-right.png.svn-base241.00 B2011-07-28 14:31
01.96 kB
01.96 kB
01.96 kB
01.96 kB
grab.png164.00 B2011-07-14 11:58
Xsnap-left.png241.00 B2011-06-24 11:51
Xsnap-right.png241.00 B2011-06-24 11:49
blank.gif43.00 B2011-06-29 11:26
down_arrow-small.gif77.00 B2011-06-29 13:32
filter.png957.00 B2011-06-27 12:48
first.png2.95 kB2011-06-24 16:29
last.png2.95 kB2010-03-15 09:28
left_arrow-small.gif97.00 B2011-06-22 15:45
line.png212.00 B2011-07-14 12:56
load.gif673.00 B2011-06-27 12:46
next.png2.93 kB2010-03-15 09:28
previous.png2.92 kB2011-06-24 16:30
right_arrow-small.gif97.00 B2011-06-22 15:45
scroll-down.png228.00 B2011-07-14 13:32
scroll-up.png223.00 B2011-07-14 13:32
search.png807.00 B2011-06-30 10:43
sort.png192.00 B2011-06-29 13:34
up_arrow-small.gif76.00 B2011-06-29 13:32
jquery-ui-icons.css18.33 kB2011-07-26 13:32
01.96 kB
01.96 kB
all-wcprops228.00 B2011-07-28 14:32
dir-prop-base33.00 B2011-07-28 14:19
entries441.00 B2011-07-28 14:32
01.96 kB
01.96 kB
01.96 kB
jquery-ui-1.8.14.custom.css.svn-base18.58 kB2011-07-28 14:31
01.96 kB
01.96 kB
01.96 kB
01.96 kB
01.96 kB
01.96 kB
all-wcprops2.37 kB2011-07-28 14:32
dir-prop-base33.00 B2011-07-28 14:19
entries3.07 kB2011-07-28 14:32
01.96 kB
ui-bg_flat_0_aaaaaa_40x100.png.svn-base53.00 B2011-07-28 14:19
ui-bg_flat_55_fbec88_40x100.png.svn-base53.00 B2011-07-28 14:19
ui-bg_glass_75_d0e5f5_1x400.png.svn-base53.00 B2011-07-28 14:19
ui-bg_glass_85_dfeffc_1x400.png.svn-base53.00 B2011-07-28 14:19
ui-bg_glass_95_fef1ec_1x400.png.svn-base53.00 B2011-07-28 14:19
ui-bg_gloss-wave_55_5c9ccc_500x100.png.svn-base53.00 B2011-07-28 14:19
ui-bg_inset-hard_100_f5f8f9_1x100.png.svn-base53.00 B2011-07-28 14:19
ui-bg_inset-hard_100_fcfdfd_1x100.png.svn-base53.00 B2011-07-28 14:19
ui-icons_217bc0_256x240.png.svn-base53.00 B2011-07-28 14:19
ui-icons_2e83ff_256x240.png.svn-base53.00 B2011-07-28 14:19
ui-icons_469bdd_256x240.png.svn-base53.00 B2011-07-28 14:19
ui-icons_6da8d5_256x240.png.svn-base53.00 B2011-07-28 14:19
ui-icons_cd0a0a_256x240.png.svn-base53.00 B2011-07-28 14:19
ui-icons_d8e7f3_256x240.png.svn-base53.00 B2011-07-28 14:19
ui-icons_f9bd01_256x240.png.svn-base53.00 B2011-07-28 14:19
01.96 kB
01.96 kB
ui-bg_flat_0_aaaaaa_40x100.png.svn-base180.00 B2011-07-28 14:31
ui-bg_flat_55_fbec88_40x100.png.svn-base182.00 B2011-07-28 14:31
ui-bg_glass_75_d0e5f5_1x400.png.svn-base124.00 B2011-07-28 14:31
ui-bg_glass_85_dfeffc_1x400.png.svn-base123.00 B2011-07-28 14:30
ui-bg_glass_95_fef1ec_1x400.png.svn-base119.00 B2011-07-28 14:31
ui-bg_gloss-wave_55_5c9ccc_500x100.png.svn-base3.94 kB2011-07-28 14:31
ui-bg_inset-hard_100_f5f8f9_1x100.png.svn-base104.00 B2011-07-28 14:31
ui-bg_inset-hard_100_fcfdfd_1x100.png.svn-base88.00 B2011-07-28 14:30
ui-icons_217bc0_256x240.png.svn-base5.23 kB2011-07-28 14:31
ui-icons_2e83ff_256x240.png.svn-base4.27 kB2011-07-28 14:31
ui-icons_469bdd_256x240.png.svn-base4.27 kB2011-07-28 14:31
ui-icons_6da8d5_256x240.png.svn-base4.27 kB2011-07-28 14:30
ui-icons_cd0a0a_256x240.png.svn-base4.27 kB2011-07-28 14:30
ui-icons_d8e7f3_256x240.png.svn-base4.27 kB2011-07-28 14:31
ui-icons_f9bd01_256x240.png.svn-base4.27 kB2011-07-28 14:31
01.96 kB
01.96 kB
01.96 kB
01.96 kB
ui-bg_flat_0_aaaaaa_40x100.png180.00 B2011-07-18 03:56
ui-bg_flat_55_fbec88_40x100.png182.00 B2011-07-18 03:56
ui-bg_glass_75_d0e5f5_1x400.png124.00 B2011-07-18 03:56
ui-bg_glass_85_dfeffc_1x400.png123.00 B2011-07-18 03:56
ui-bg_glass_95_fef1ec_1x400.png119.00 B2011-07-18 03:56
ui-bg_gloss-wave_55_5c9ccc_500x100.png3.94 kB2011-07-18 03:56
ui-bg_inset-hard_100_f5f8f9_1x100.png104.00 B2011-07-18 03:56
ui-bg_inset-hard_100_fcfdfd_1x100.png88.00 B2011-07-18 03:56
ui-icons_217bc0_256x240.png5.23 kB2011-07-18 03:56
ui-icons_2e83ff_256x240.png4.27 kB2011-07-18 03:56
ui-icons_469bdd_256x240.png4.27 kB2011-07-18 03:56
ui-icons_6da8d5_256x240.png4.27 kB2011-07-18 03:56
ui-icons_cd0a0a_256x240.png4.27 kB2011-07-18 03:56
ui-icons_d8e7f3_256x240.png4.27 kB2011-07-18 03:56
ui-icons_f9bd01_256x240.png4.27 kB2011-07-18 03:56
jquery-ui-1.8.14.custom.css18.58 kB2011-07-18 03:56
01.96 kB
datagrid.edit.js730.00 B2011-07-19 13:55
datagrid.filter.js2.39 kB2011-07-27 14:42
datagrid.js12.13 kB2011-07-27 15:00
datagrid.paging.js4.66 kB2011-07-28 10:13
datagrid.reorder.js3.57 kB2011-07-26 09:12
datagrid.scroll.js5.16 kB2011-07-28 14:13
datagrid.search.js2.28 kB2011-07-25 10:47
datagrid.select.js3.66 kB2011-07-26 09:13
datagrid.sort.js3.47 kB2011-07-26 13:40
datagrid.utils.js2.87 kB2011-07-26 14:33
...

datagrid.js (405.40 kB)

Need 1 point
Your Point(s)

Your Point isn't enough.

Get point immediately by PayPal

More(Debit card / Credit card / PayPal Credit / Online Banking)

Submit your source codes. Get more point

LOGIN

Don't have an account? Register now
Need any help?
Mail to: support@codeforge.com

切换到中文版?

CodeForge Chinese Version
CodeForge English Version

Where are you going?

^_^"Oops ...

Sorry!This guy is mysterious, its blog hasn't been opened, try another, please!
OK

Warm tip!

CodeForge to FavoriteFavorite by Ctrl+D