# Valid DB Tree View bean methods

**URL:** <https://forum.servoy.com/t/valid-db-tree-view-bean-methods/15644>\
**Category:** Classic Servoy\
**Created:** [March 9, 2012, 2:20pm UTC](https://forum.servoy.com/t/valid-db-tree-view-bean-methods/15644 "2012-03-09T14:20:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert\_Huber](https://avatars.discourse-cdn.com/v4/letter/r/da6949/32.png) [@Robert\_Huber](https://forum.servoy.com/u/Robert_Huber)\
**Post date:** [March 9, 2012, 2:20pm UTC](https://forum.servoy.com/t/valid-db-tree-view-bean-methods/15644/1 "2012-03-09T14:20:33Z")

</div>

I lost the overview about the valid DB Tree View binding methods and which ones are deprecated and which ones are current. Especially the following methods:

Is this current?  
binding.setCallBackInfo(onRecordSelection, ‘id’);

I also have the following and I am not sure if it is current:  
binding.setMethodToCallOnClick(onRecordSelection, ‘id’);

The previous is not a choice in the JavaSript editor any more, but setMethodToCallOnRightClick() still exists.

I am a bit confused, as setMethodToCallOnClick() is listed in the Version 6 docu (Servoy Wiki), so it seems to be again valid?

Can anyone please clarify the situation?

Thanks and regards, Robert

Servoy Developer 5.2.11

---

<div class="post-metadata">

**Author:** ![omar](https://avatars.discourse-cdn.com/v4/letter/o/f0a364/32.png) [@omar](https://forum.servoy.com/u/omar)\
**Post date:** [July 1, 2012, 5:56pm UTC](https://forum.servoy.com/t/valid-db-tree-view-bean-methods/15644/2 "2012-07-01T17:56:10Z")

</div>

Hi Robert,

By the time you read this I suppose this is probably no longer an issue for you. All methods you name are indeed current and I think Servoy must have fixed the inconsistency because setMethodToCallOnClick() shows up in the JavaScript editor again.
