Information générale
Catégorie:
Codage, syntaxe et commandes
>Hello
>
>
>when i'm resizing the headers in my grid the click event of the header is fired
>and the column get ordered by it's index ..
>
>how can i prevent this?
>
>
>thx in advance
>
>Christian Ehlscheid
The resize() of the column fires before the click() of the header, so you could probably use a form property that would be set to true in the resize and to false on the click.
This way you know when it was just the click() or if the resize() preceded it. Sounds like there should be a better way, but I'm not a big grid user myself.
HTH
Précédent
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