I tried overriding the "export" option while in the flexigrid theme and it didn't work. When I looked closely at the given example, I noticed that the theme was set to "datatables". After I added the code to set the theme to "datatables" accordingly, the override worked!
I suggest three things for the getState and getStateInfo functions.
(1) could these be made available in all themes?
(2) could the documentation include "getState works only when using the datatables theme"?
(3) if getState and getStateInfo are to be revised, could these functions be in lowercase? all the grocerycrud functions are in lowercase except for these two.
More power!
Ed Ramirez