Want to have one menu good for all edits on grid in each tab
pinTab
Want to have one menu good for all edits on grid in each tab
BeemerBiker
04-21-2007, 12:15
Sorry, I am a newbie at this. Before I got pintab I had a single page with a menu "edit", "help", etc and used multiview and each view had its own grid. When I clicked on "edit - select all" I selected all the items in the current grid. This was easy because it was all one aspx page. Now, I got separate pages for each tab in pintab. I can easily add a menu to each page "edit" , etc. But I would rather have a single menu up at the top above the pintab control. Is this possible? Can the menu in "default.aspx" somehow peform an "edit - select all" on a different page?
..thanks..
Re: Want to have one menu good for all edits on grid in each tab
Pintexx Support
04-23-2007, 9:01
Hi,
if you have a client function on each of your pages (containging the grids) you can call this function from outside like this:
__objPinTab1.getActiveTabItem().getWindow().pageFunction();
Regards,
Hans-Peter
Re: Want to have one menu good for all edits on grid in each tab
BeemerBiker
04-25-2007, 11:52
Thanks, didnt know about _obj. Is that true for all object not just pintab? Maybe you can tell me the difference between:
var objPinTab1 = document.getElementById('PinTab1');
and adding __obj to PinTab1. I put both into quickwatch and they have some similar things, but __objPinTab1 has a lot more stuff. I assume __obj is the instance of PinTab1. Setting a breakpoint I do not see any method "GetInstance" in objPinTab1 and would not have known to use __obj unless I had read your post.
..thanks..
Re: Want to have one menu good for all edits on grid in each tab
Pintexx Support
04-26-2007, 8:25
Hi,
__obj + ID is the name of the internal pinTab object that can be used to access tab itemsetc.
var objPinTab1 = document.getElementById('PinTab1');
is the pinTab object on the page.
But this does not help when accessing internal functions.
Regards,
Hans-Peter