Add in DataGrid not working

Referring to the file at
When I run the swf everything works fine but when I run the fla, add button is not functioning(nothing is getting added to the Grid)
After running the fla, the resulting swf is also not working(obvious but I think I should mention it)
Am I missing something??
Do we need to setup anything for DataGrid to work? like classpath etc?
Please help