joeharrison714 / MVCGrid.Net

http://mvcgrid.net
MIT License
75 stars 56 forks source link

Resources and Column Names change #150

Open MiBuena opened 6 years ago

MiBuena commented 6 years ago

Hello, I have put Resources Labels for Column Names. However, when the language is changed - they don't change, since they are loaded just once when the application first starts.

What can be done in this case, so that when language changes, column names also change?

krpec commented 6 years ago

Just ran into the same issue. Is there any way to do this?

MiBuena commented 6 years ago

The way was to make a new name and reinitialize the table with a new name every time the person opens the page.

BlazorPlate commented 6 years ago

I also ran into the same issue and still waiting for a fix. I think it has something to do with dependency injection.

MVCGrid.NET is a very great tool for data retrieval but localizing header text using resx file is impossible especially the grid definition is being called only one time when you run the application.