Multiple Grids on a single page, export only works on first

I have a page which has three grids on it, however the grid2excel function only works on the first grid on the page, not the rest. Each grid has their own name (grid1,grid2,grid3) and calls the function in the same manner (grid1.toExcel, grid2.Excel, grid3.toExcel).

Can I make it work for all grids or not?

unfortunately export doesn’t support such mode. Only single grid may be exported.

I’m not looking to export multiple grids in one command, I’m looking to have a separate button for each grid that only exports that particular grid. It seems like that should be possible, no?

sorry for the delay in answerring.
It looks like browsers block submitting a lot of forms from one page for security reasons.