Welcome to Pintexx Forum Sign in | Join | Faq

pinTab

Started by BeemerBiker at 04-21-2007 12:15 . Topic has 3 replies.

Print Search
Sort Posts:    
   04-21-2007, 12:15
BeemerBiker is not online. Last active: 10.12.2008 13:19:06 BeemerBiker



Top 25 Posts
Joined on 04-19-2007
San Antonio, Texas
Posts 21
Want to have one menu good for all edits on grid in each tab
Reply Quote
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 is not online. Last active: 30.12.2008 07:11:54 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.571
Re: Want to have one menu good for all edits on grid in each tab
Reply Quote
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 is not online. Last active: 10.12.2008 13:19:06 BeemerBiker



Top 25 Posts
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
Reply Quote
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 is not online. Last active: 30.12.2008 07:11:54 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.571
Re: Want to have one menu good for all edits on grid in each tab
Reply Quote
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 
Pintexx Forum » Developer Produ... » pinTab » Re: Want to have one menu good for all edits on grid in each tab