Posted Apr.30, 2010 under
Extjs
In this section i want to share about how to make textfield in extjs with autocomplete. I think this tutorial very simple but i hope this tutorial can be useful for newbie like me. You can create textfield with autocomplete from combo box. If you can use combo box, i think it’s very easy to create textfield with auto suggest. Below is part of code to make combo box.
var combo = new Ext.form.ComboBox({
store: store,
displayField:'state',
typeAhead: true,
mode: 'local',
triggerAction: 'all',
emptyText:'Select a state...',
selectOnFocus:true,
hideTrigger: true,//hide combobox trigger, so the combobox looks like textfield
width: 250,
renderTo: 'autocomplete'
});
You just add hideTrigger: true to get textfield with autocomplete. It’s just easy !
You can download source code here.
Posted Apr.27, 2010 under
Oracle
Whenever I have to deal with Oracle 10g projects at work, toad always comes in handy. However yesterday, the backspace, delete and arrows button inside the SQL query editor, all of sudden, stopped working ! I can only press the other key.
I think it’s toad bug. I tried restarting the toad, even restarting the computer, but the problem persisted.
I didn’t want to uninstall/ re-install the application, so I search the problem in the google search engine.
Seems like the other people had the exact same problem, and the solution was quite simple !
To resolve the problem you have to go to toad directory installed:
C:\Program Files\Quest Software\Toad for Oracle\User Files
By default, toad installed in there. Then delete file PLSQLKEYS.BIN, you must close the toad before do it.
In installing wordpress plugin will not always succeed. This could be due to differences between the versions of wordpress and plugins. For that I will provide a solution if there is failure to install the wordpress plugin.
- Login into your wordpress database.
- You can use phpmyadmin or other tool. Find “Option” tables.
- Find the line that the contents of “active plugins”. It is a list of active plugins.
- Delete all the contents of the list. All plugins will be in a state of inactivity.
- Perform reactivation of plugins that can work well.
Done! your wordpress can work again as before