Maybe you are wanting to listen to the 'itemClick' event instead, which is not dispatched when the header is clicked. If you want to track both types of clicks, you can also listen for the 'headerRelease' event for the header clicks.
Hope this helps, ~Aaron On Sun, Apr 27, 2008 at 4:14 PM, Lisa Lee <[EMAIL PROTECTED]> wrote: > I have assigned a function to the "click" event on my DataGrid. When > the user clicks on the DataGrid, how can I tell whether they've clicked > on the header (for instance, to sort the data) or on actual data in the > grid itself? > > > -- Aaron Miller Chief Technology Officer Open Base Interactive, LLC. [EMAIL PROTECTED] http://www.openbaseinteractive.com