1
0
mirror of https://github.com/DataTables/DataTables.git synced 2024-12-02 14:24:11 +01:00
DataTables/media
Allan Jardine 1b6ffeaf78 Updated: data and render can now have periods escaped from dotted
object notation.

- Previously if you had an object key that contained a period, it
  wouldn't work with `data` or `render` (or rather it would need a
  function call to do it manually), since a split was being done on the
  periods to reconstruct the Javascript object property chain. Now it is
  possible to escape a period, allowing it to be included in the
  property name read / set.

- Example:

$('#example').dataTable( {
	columns: [
		{ data: 'a' },
		{ data: 'b\\.c' }
	],
	data: [
		{ 'a': 1, 'b.c': 2 },
		{ 'a': 3, 'b.c': 4 },
		{ 'a': 5, 'b.c': 6 },
		{ 'a': 7, 'b.c': 8 }
	]
} );
2013-02-04 19:44:41 +00:00
..
css Dev: Remove padding on code when in the syntax highlighter 2012-11-01 21:45:26 +00:00
images Update the sorting icon images. The old PNGs were really rather poor with what looked like 1bit transparency. 2011-12-20 14:45:05 +00:00
js Update: Updating to jQuery 1.9 2013-02-01 10:02:57 +00:00
src Updated: data and render can now have periods escaped from dotted 2013-02-04 19:44:41 +00:00
unit_testing Tests: With the change for the state saving into localStorage we need to update the state destroy in the unit tests 2012-10-31 18:12:22 +00:00