|
|
pinTab
Started by BeemerBiker at 04-21-2007 12:15 . Topic has 3 replies.
 
 
|
|
Sort Posts:
|
|
|
|
04-21-2007, 12:15
|
BeemerBiker

Joined on 04-19-2007
San Antonio, Texas
Posts 21
|
Want to have one menu good for all edits on grid in each tab
|
|
|
|
|
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..
|
|
|
|
|
Report
|
|
|
|
04-23-2007, 9:01
|
Pintexx Support
Joined on 08-30-2005
Posts 1.571
|
Re: Want to have one menu good for all edits on grid in each tab
|
|
|
|
|
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
|
|
|
|
|
Report
|
|
|
|
04-25-2007, 11:52
|
BeemerBiker

Joined on 04-19-2007
San Antonio, Texas
Posts 21
|
Re: Want to have one menu good for all edits on grid in each tab
|
|
|
|
|
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..
|
|
|
|
|
Report
|
|
|
|
04-26-2007, 8:25
|
Pintexx Support
Joined on 08-30-2005
Posts 1.571
|
Re: Want to have one menu good for all edits on grid in each tab
|
|
|
|
|
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
|
|
|
|
|
Report
|
|
|
|
|
|