ExtJs 6.2 how to disable header function menu - extjs

I am using ExtJS 6.2 to create my table and I want to disable header menu, but I can't find it in document.
Please help me thanks.
I using disableColumnHeaders() this method work but has problem color will be different like picture.

You must use menuDisabled of Ext.grid.column.Column class
Here's the FIDDLE

Related

programmatically open a bootstrap select

I need to programmatically open a bootstrap select, not show like documentation says
(it affects displaying)
It seems to be a missing method, so how can it be done?
Use the toggle method. It programmatically toggles the bootstrap-select menu open/closed.
$('.selectpicker').selectpicker('toggle');
I tried the documentation and it wasn't working for me either, so I did some research and apparently opening a select list is not an easy thing to do programatically with JavaScript.
check out this Post and this Post.
What I would probably recommend is to use a Bootstrap .btn-dropdown instead of a select list if possible?

Remove highlighting from extjs combobox after selection

Whenever an item is selcted from extjs combobox, it gets highlighted as follows
Is there any way to remove this highlighting. I searched in google with no success.
I am using ExtJs 2.3.0
First of all, you really need to consider upgrading your ExtJS version. I haven't seen this behavior by default in the newer versions.
Looking at the docs, in the config phase i don't see anythin which can help you.
The simplest thing you can do is add a select listener where you call the selectText method
comboBox.on('select', function(combo,record,index) {
// set the cursor at the start
//comboBox.selectText(0,0);
var cursorEnd =combo.getValue().length;
comboBox.selectText(cursorEnd,cursorEnd);
});
See working example with jsfiddle. It uses a newer ExtJS for illustrative purposes, however the select event and selectText method are also available in ExtJS 2.3.

Is there anything about ext js?

I need a project about it ,thank you.I am using Ext.grid.gridpanel.As in rowclick event, we can handle row click of grid..Is there any event to handle column click of grid?
i want to select a particular column of grid.
You are looking for headerclick. Also for any more questions like this just look through the extjs documentation per your version. Sencha documents it very well.

Filling select box from parent select box in cakephp

I want to implement the following image in my application:
Here i want to fill the second box with selected items from first box when clicking on ADD button.
How can i implement this with cakephp.
Iam new in cakephp
Image in google:
http://lh4.ggpht.com/70kyxWGqbi72F5L-DjvJ09UUkDVpXjsS5_6_ndgjRfPE7hmNfnlXRCxNzddgBcfh8YqI6w=s162
If there is any solution for this?
I bet you can do it with PHP, but I think jQuery would be a easier and better option
$("#move").click(function(){
$("#one :selected").each(function(index, item){
$("#two").append(item);
});
});​
Check the working jsfiddle
http://jsfiddle.net/4fCFb/
there is a plugin that creates this effect from a single multiselect box. Give this one a look:
http://www.quasipartikel.at/multiselect/

ExtJS Combobox with Checkbox

I want to design combo with checkboxes(display checkboxes along with dispalyfield)
i tried lovcomb, but not getting
is there any alternative for this or how to use lovcombo for multiple section
Thanks in advance
Alternative method (with out checkboxes):
http://technomedia.co.uk/SuperBoxSelect/examples3.html

Resources