Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
The grid is a wonderous thing (except for this one thing...)
I am using a grid to get and display phone numbers and descriptions. It is based upon a filtered view to display only the numbers associated with the currently selected contact. I found that one feature of the grid is that if you click in an empty cell it fires the click event of the grid so I use this to add a record to the view and set focus on the new record. This works but has some bizarre effects.
If there are no records currently displayed (the first number for a contact) it won't set focus on the cell until you click on it.
I am counting the existing records to calculate the position of the new record but when adding records the grid seems confused about the display position of new records (possibly because of the negative record numbers?).
The rest of the erratic behavior is variations on this theme. I don't think this is a result of a filtered view but...
Any ideas would be appreciated.
TIA Jeff
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement