Question regarding the DataGrid control...
Hey, folks!
I have a couple questions regarding the DataGrid control. First, a little background in how I'm using this control.
After finding I couldn't use the Easy 1-2-3 online high scores method (since I can't seem to properly install PHP to use the PHP scripts that come with that example), I have resorted to creating my own high scores data grid. This grid is composed of three columns (player name, score, and hit ratio), with ten high score rows.
Here are my questions:
1.) Whenever I run the game application, the column rows always display at the bottom of the grid (not the top). Furthermore, the column labels don't display until the column is selected. By default, the grid looks completely empty.
EDIT: Ah, now I understand why this is happening. I am using numbers in the first row, and the top-left corner of the grid doesn't display anything. Yet, if I enter a space into that row cell, the numbers still sort before the space. So, how can I set the top-left corner cell to sort before the numbers do?
2.) Using an identical database grid, I'd like to be able to place this grid (or perhaps in the form of an array) onto a public-facing Web site, where other iterations of the game worldwide can upload their high scores. When a game iteration plays a game and results in a local high score, the game would check the online iteration to see if the local high score beats any of the online ones (in which case it would revise the online database grid with the new worldwide top-ten high score). I'm not sure how I would implement this. Does anyone have any suggestions?
Thank you very much in advance for your assistance! Have a great day!
Most graciously...
RGBreality