I have no idea what could be changing the title... It only happens when you use Ext.History?
I doubt it's a swfobject issue, since it's widely used, but I really don't know what could be causing the issue... sorry.
Just a quick follow-up for this. I debugged and it looks like it's happening in swfobject but I assume that the bug itself is because of Internet Explorer. I narrowed it down to the exact line that changes the title when it is rendered. When swfobject sets aa.outerHTML the title of the document changes. I just put some listeners on the exporter component to change the title back so I don't have to mess with swfobject.
droessner, glad you found a workaround, not very pretty, but if it works...
RNL, the export only has the loaded records, I thought it would be too dangerous to ask the server for all the data, since there may be millions of records...
my columns are code, name, price and add checkboxSelection model!...
i added export button and success download excel file.. but this(upload image) is what i don't want..
So i tried edit Export.js file.... and try try try..but i failed..
(
var columns = Ext.Array.filter(grid.columns, function(col) {
return ((!col.hidden) && (col.xtype != "checkbox")); // && (!col.xtype || col.xtype != "actioncolumn");
});
)
mmm, I don't remember quite well, but for some reason I commented out the part that filtered the actioncolumns... although I don't know what xtype the column of the checkboxselectionmodel is...
Your solution seems pretty much right, there it's filtering all the hidden columns.
Put a breakpoint in there and look at what xtype should be and filter it.
Hi Wiznia, Thanks for the quick reply. the CSV export works well except a few issues:
The first column in the header is taking this character:
Also the date columns are showing as ####### as the value for start and end date.
===
If you could also point me in the right direction for uploading excel or csv file onto a grid using EXTJS 4. that would be great.
I think I am facing the same problem with the output.
I believe that may be because of the checkbox column, which I have no idea how to avoid :/
Is there anyway I can get it to bypass the checkbox/first column?
-Nevermind, solved it. I just disabled the checkboxcolumn instead for that download section. Btw Wiznia thanks for the work!
Also, I was just wondering if you have any intentions to make the excel formatter work? Currently, my data is getting correctly rendered in CSV format but it seems that whenever I use excel formatter, none of my programs can open it :/
There are a lot of problems with the excel formatter and different versions and platforms of excel or other spreadsheet programs. For now, I'm using the csv which is easily imported into any program.
Yeah.. I removed some code and changed some stuff and it could work for excel 2010. But, it broke compatibility with OpenOffice unless I change it to xlsx manually lol. I believe most of the problems are just in the tags:/
we decided to just cater to excel users heh and leave openoffice with csv instead lol.
Btw, have you got downloadify to work on firefox/safari? The buttons aren't showing up at all for me in those browsers. The script isn't even there if i inspect the elements heh.