Got to specific tab on button/link click, ExtJs tabpanel - extjs

I've a ext js tab panel defined with some tabs.
On the same page I've a menu of hyper links for asking user which tab to open.
I want open the selected tab when the user clicks the link.
Basically when u click on the tab header to open the tab, I want exact same thing to happen on clicking some button/hyperlink.
Seems like a pretty normal thing, but I can't find the solution anywhere!!
Please help.
thanks

ues setActiveTab( newItem ) method of tabpanel.You can pass an ID, index or the component itself as newItem.

Related

oracle database modeler missing toolbar

I am fairly new to oracle database modeler. the first time I ran the application I seem to noticed that my toolbar isnt showing. is there a way to activate it?missing toolbar
Right click on the Logical Model and select "Show". A new window opens up in the middle section and the tool bar should appear.
Hope it helps.
It is not missing. You're not on the right item(page). Go to the view/subview and open a model (diagram) and the toolbars will appear. The toolbar changes based on the page. You're currently on the home page. Easiest way to see the page is double click on the sub-view and it will open a new diagram and the toolbar should appear.
If toolbar does not appear although doing all steps in previous responses try this:
Click "Tools" and then "Preferences"
Select "Environment" option.
In the dropdown of "Appearence" change the selected option (Usually are 'Oracle' and 'Windows').
Click in 'Ok' to save changes.
After step 4 the program will require to be restarted, accept it and when it restarts the toolbar will be visible again.
Click View
->Go to Drop Down and click Browser
->To the left of the "data modeler screen" click
under Browser and click Logical Model Drop
down and then Subviews
->Once you click Subviews, click new Subview and
then this will create the new view (in the middle screen) along with
displaying the toolbar
Hope this helps!
On macos, you should double click on the Logical Model tab in the browser. Then check the "visible" box and "apply".

Ionic - Wrong tab active after changing tabs template

I am learning Ionic and I am stuck in one place because I want to change my default tabs layout to other one.
When I change to state where I reload my tabs layout, in new layout there is always selected second one, no matter what I do... I want first tab to be selected.
Here is plnkr. Go to friends, click one and look on tabs at bottom. Second one is active :(
$ionicTabsDelegate is not working (Or I have done something wrong)
http://plnkr.co/edit/AGNLaMqY6Hzbm5SVcgwI
Do you have any ideas why it's happening?

ionic ion-item option-buttons for swipe not reload the updated buttons

I have one problem with Ionic framework("version": "1.0.0-beta.1"), when I modify the Item I want to be able to modify the buttons related to the item swipe.
The scenario is : swipe on item, view a list of buttons [open,modify,close].
WHen i Click on Close I want to modify the option-buttons of Item with only the button [reopen].
It is possible in the controller change the option-buttons?
I have tried but the framework not reload the related buttons.
Do you have any hint?
Thank you
http://forum.ionicframework.com/t/ionic-ion-item-option-buttons-for-swipe-not-reload-the-updated-buttons/2590/5
I have opened a discussion for that in ionic forum.
ANd the solution is come from the new version.
Here is the example of new sintax.
http://codepen.io/anon/pen/nFmuc

How to Close Angular-Strap Tabs

In my app I have 3 static tabs that get rendered when the application loads. Using ng-grid, when a user double clicks on a row a new tab is generated with the results of that row. My question is..... how do I close the tab? It seems so simple but, I've goggled and tinkered with no results.
What I'd like is that after viewing the results the user would click on a small X near the tab heading to close/dismiss the tab. I've created a plunker http://plnkr.co/edit/ZkamtnBK01h0IvC9Hmjh?p=preview that resembles my tab layout. It has a button that you can click to add a new tab. Any help would be greatly appreciated. Thank you.
you can easily remove tabs by altering scope, http://plnkr.co/edit/AKlmUaRkaYWjOYnPRnWF
$scope.remove = function() {
$scope.tabs.splice($scope.tabs.activeTab,1);
}
These tabs are problably created with templates from the tabs directive, so I suggest using css positioning the element outside the bs-tabs div to get the effect you want

Can i call a vf page as popup from a custom link button from a standard sf page

I want to show a popup of list of cases without parentid and allow to select usign checkbox and the selected cases are added up in a related list. This popup would be availabe on clicking of link button
First question would be can i call a vf page as popup from a standard page? The rest i guess i can hande it in the VF page
Thanks
Prady
Yes, you create a link button for the object in whose page layout the link will reside. As a source for the link button choose "Visual force page" and choose a page. Keep in mind that the vf page MUST use standardController for the same object (with or without extensions) or it will not show up in the list. Choose to show the page in a new window and later place the link button on the page layout.

Resources