fix display_func in pronto.grid.js