CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

CGJQGrid.JQGridCustomButtons[i].id - what is this property and can I use it?

by ScottWGast » 13 Sep 2012 17:23

In the past (using TIWButton), I would use the .Tag property to determine which button was clicked. Can I do the same with the .id property on the JQGridCustomButtons?

Thanks,
Scott
ScottWGast
 
Posts: 875
Joined: 23 May 2012 11:02

by Jorge Sousa » 14 Sep 2012 16:42

Scott

No Id it's internal for TCollectionItem

We already added UserData: Pointer, for next release

Best Regards
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by ScottWGast » 14 Sep 2012 17:52

OK, thanks. Can we expect to see UserData on all of the other CGJQ components?

Thanks!
Scott
ScottWGast
 
Posts: 875
Joined: 23 May 2012 11:02

by Jorge Sousa » 14 Sep 2012 18:31

Hi Scott

Yes if refered to Collection Items properties , like JQGridCustomButtons, Columns, TreeView.TreeNodes, etc.. We add UserData to the base class

The component descendents like TIWCGJQGrid, TIWCGJQTreeView have already the Tag: NativeInt property
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by ScottWGast » 14 Sep 2012 20:30

Cool :)
Thanks,
Scott
ScottWGast
 
Posts: 875
Joined: 23 May 2012 11:02


Return to JQGrid

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.