Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
There a many posts about DataGrid and I have been searching and reading for days and have made some progress with my program. There are a couple of things I want to do that I can't work out.
When I enter a new row of data into my datagrid I want to jump from the current column to the next column when I click the enter key. I have tried a simple "DataGrid1.Row = DataGrid1.Row + 1" which does move the cursor to the next cell but for some reason it leaves the previous columns input in the cell and takes the newly input value to the next cell. There must be a simple way of doing this?
When the datagrid is first filled with data from my database I also want to show another row across the bottom which will show totals of each column value. They all have numeric values in them. Is this possible?
I also want to add another column that is not part of the database table that will show a value by taking the database values in the same row and applying a formula. Is this possible?
Hope I have explained myself OK and any help will be greatly appreciated.