PDA

View Full Version : OnHeaderClick



FrankValcarcel
7-Feb-2014, 05:23 PM
I think this needs to be looked at (18a). Doc says following which does not make sense. If it only works when column is sortable it is self defeating as when you sit on it, it stops the columns from sorting.
------------------------------------------------
Description
Fires when grid header is clicked. Set pbServerOnHeaderClick (mk:@MSITStore:C:\VDF18A\Help\VdfClassRef.chm::/cWebColumn-Property-pbServerOnHeaderClick.htm)
to True for the server side event to fire.

The OnHeaderClick event only
fires the column is sortable (pbSortable (mk:@MSITStore:C:\VDF18A\Help\VdfClassRef.chm::/cWebColumn-Property-pbSortable.htm)) and the grid / list
has pbColumnSortable (mk:@MSITStore:C:\VDF18A\Help\VdfClassRef.chm::/cWebList-Property-pbColumnSortable.htm) set to
True, which defaults to false for the grid.
-------------------------------

When I set the properties as above and click on the header I get the following even after I published the method (which I should not have to do).


C:\VDF_Area_18\vdfws\covecommon\Programs\WebApp.ex e
This web method 'OnHeaderClick' is not published by the target Object 'oDescCol'.
VDF Error#: 4402 in line: 14381.
GET_HANDLEACTION (5671) - oDescCol (2141) - at address 14381
GET_CALLACTION (6054) - oWebApp (48) - at address 18798
GET_CALLACTION (6054) - oWebServiceDispatcher (64) - at address 18537
GET_DOCALL (1284) - oCallInterface (65) - in native code
GET_DOCALL (1284) - oWebServiceDispatcher (64) - at address 9995
MSG_ONDFFUNC (4989) - oVDFInetSession (54) - at address 8573
MSG_STARTWEBAPP (5745) - oWebApp (48) - at address 15488
[start] - at address 73257

Dennis Piccioni
7-Feb-2014, 05:44 PM
Hi Frank,

I just tried it here, albeit with a newer build, and didn't get this error.