Quote:
Originally Posted by knut-o
Hi
The sudokuSolver works, and I get the numbers in the GUI, but when i open a new file with a different size(9x9 to 6x6) It gives me the solution in the same window. I dont know how to get the grid to update size. Any tips?
|
In desktop development you have to trigger a resize followed by a rerender, and I believe web development goes through the same basic process. So there are two moving parts you need to worry about. You have to resize the grid first. But two you have to trigger page rendering after that. If you haven't resized the grid OR you don't render the page after that, it will appear that you're not updating the size.
__________________
-------------------------
Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe
When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper
Chroniclemaster1, Founder of www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.
|