IGridEventHandler eh = ( IGridEventHandler ) getInstance( ( GridHandle ) gridDesign .getHandle( ) );
IGridEventHandler eh = getEventHandler( gridDesign, context );
	public static void handleOnRender( TableContent content,			ExecutionContext context )	{		try		{			ReportItemDesign gridDesign = ( ReportItemDesign ) content					.getGenerateBy( );			IGridInstance grid = new GridInstance( content, context );			if ( handleJS( grid, gridDesign.getOnRender( ), context ).didRun( ) )				return;			IGridEventHandler eh = ( IGridEventHandler ) getInstance( ( GridHandle ) gridDesign					.getHandle( ) );			if ( eh != null )				eh.onRender( grid, context.getReportContext( ) );		} catch ( Exception e )		{			log.log( Level.WARNING, e.getMessage( ), e );		}	}