Yanachik.org

Archive for October, 2008

With all of the goodies included with Service Pack 1 for Visual Studio 2008, the one thing that Microsoft did not do right is Javascript formatting.  First of all, it’s really slow.  Second of all, it doesn’t seem to be consistent with it’s indenting.
For me, I’d like to do my own formatting.  So, to turn [...]

In Yahoo YUI 2.5.2 the Yahoo DataTable editorSave Event’sData Cell Editor has changed.  To get to the data record for the editor it is no-longer oArgs.editor.record, but rather oArgs.editor.getRecord();
DataTable.subscribe(”editorSaveEvent”, EditorChanged);
function EditorChanged(oArgs)
{
var record = oArgs.editor.getRecord();
}