-
20 Dec 2007 1:57 AM #21
I found a little mistacle in the layout fonction, that make my code don't work.
layout : function(){
......
var c = g.getGridEl(), cm = this.cm,
expandCol = g.autoExpandColumn,
gv = this;
....
correction :
var c = g.getGridEl();
var cm = this.cm;
var expandCol = g.autoExpandColumn;
var gv = this;
Now it's works perfectly .. thanks
-
20 Dec 2007 4:13 AM #22
-
21 Dec 2007 1:12 AM #23
i know but i use a grid with a lot more of columns (+20) than the example and that format resolve my problem.
-
8 Jan 2008 11:56 PM #24
Great JOB! works like a charm. But I was wondering how can I combine it with the grouping feature... For example, for the data store im using:
var store = new Ext.data.GroupingStore(...)
For obvious reasons, when the grid is grouped, column locking should be disabled.
But, I have to use: var store = new Ext.data.Store(...) In order to make column locking possible.
My question is, would it be possible to detect whether theres a group or not, so I can enable/disable Column Locking?
This should be easy if I just refresh the webpage and have grouping managed from the webpage instead of the grid control. but what if I want do both without refreshing?
And Im using a Proxy, which makes things more difficult...
any ideas on this?
-
9 Jan 2008 11:11 AM #25
JSON data
JSON data
Does this also work with JSON data loading?
Can I also add pagin to the gris?
From the above couple of of posts about cell editing of the grid, I am assuming it is working fine
?
Thanks,this really is a good job.
-
17 Jan 2008 2:34 AM #26
Hey MeDavid,
thanks for the nice work you've done.
greetz Klaus
-
17 Jan 2008 5:53 AM #27
-
23 Jan 2008 9:48 PM #28
-
25 Jan 2008 3:03 AM #29
Found a "bug" in your renderUI function.
I use a store and loading the data via ajax.
when i intializied the grid, the row data isn't avaible, it take a few seconds until it load.
Then there is displayed undefined in the grid.
So I have changed the renderUI function:
PHP Code:renderUI : function(){
// ... code before
this.initElements();
var bd = this.renderRows();
// changeset begin
if (typeof bd == "string") {
bd = new Array("","");
}
// changeset end
this.mainBody.dom.innerHTML = bd[0];
this.lockedBody.dom.innerHTML = bd[1];
this.processRows(0, true);
// ... code after
-
15 Feb 2008 4:22 AM #30
checkbox column not getting locked
checkbox column not getting locked
My grid using Ext.grid.lockinggridpanel has Ext.grid.checkboxselectionmodel() as the selection model . I want to show checkbox column as locked by default. can anybody please help me out in achieving this. even though i'm passing "locked:true" for that column. it's not getting locked. Please help me.
Thanks in advance.


Reply With Quote