PDA

View Full Version : Image Alligment not proper!



soumya nara
8 Sep 2010, 9:16 PM
Hi,
this.searchTxf = new Ext.form.TriggerField

I placed a search box using this. Search Image comes right to this box which is not properly alligned in IE. Can anyone guide to fix this problem??

Thanks in advance

vishalnnsingh
8 Sep 2010, 9:30 PM
Please post the part of the code where you are trying to do this...

soumya nara
8 Sep 2010, 10:19 PM
This is the code I have written for search box.

this.searchTxf = new Ext.form.TriggerField({
triggerClass: 'x-form-search-trigger',
emptyText: Lang.DATAROOM_SEARCH_EMPTY_TEXT,
anchor: DR_configuration.ANCHOR_DATAROOM_LISTING_SEARCH_TXF,
enableKeyEvents: true,
onTriggerClick: function () {
var grid = Ext.getCmp(DR_constants.DOCUMENT_LIST_GRID_PANEL_ID);
if (!grid.filterXml.documentElement) grid.initializeFilter(DR_configuration.PAGE_SIZE_DOCUMENT_LISTING_GRID);

var searchText = "";
grid.gblSearchString = "";
if (grid.searchTxf.getValue() != "") {
searchText = grid.searchTxf.getValue();
grid.gblSearchString = ConstructOrchQuery(searchText, this.qParserXML, '', 1);
}
grid.filterXml.documentElement.setAttribute("Qry", grid.gblSearchString);
grid.filterXml.documentElement.setAttribute("Qry1", searchText);
grid.filterXml.documentElement.setAttribute("Start", 0);
grid.documentStore.loadData([]);
grid.documentStore.load({
params: {
'strIPXML': PC.getXmlStr(grid.filterXml)
}
});

soumya nara
9 Sep 2010, 3:27 AM
hi,
I am still waiting for the answer. That is the code which I have written for searchbox. I would be
glad if someone can let me know the solution for it.

Thanks in advance.

laurentParis
9 Sep 2010, 3:31 AM
Tanimdds will prefered that you paste you code between code tag like this example


Ext.example = {
test: essai
}
It's more easy for reading !

have you any capture to watch result and detail version of IE that you have

thanks

FCTim
9 Sep 2010, 11:21 AM
Are you in IE8 compatibility mode? This is the most common cause I've found.