This is a migrated thread and some comments may be shown as answers.

Filtering Columns not working on FF

2 Answers 86 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Cristian
Top achievements
Rank 1
Cristian asked on 20 Apr 2012, 08:48 AM
Hi,
I've a grid with some columns that permit filtering, and everything was working fine.

After the update to Web components 2011.2, this functionality continued working well on IE, but on FF the Filter event is not fired.

Any idea?

Thank you

Cristian

2 Answers, 1 is accepted

Sort by
0
Elliott
Top achievements
Rank 2
answered on 20 Apr 2012, 02:34 PM
is there any custom javascript that executes on filter?  there are commands that work in IE that don't in Firefox i.e. form name.control name as shorthand for document.forms["form name"].control name
if a script abends no other script runs, such as those that do filtering
look for the tell-tale yellow triangle at the bottom left corner...

I know, obvious, but couldn't hurt to check
0
Cristian
Top achievements
Rank 1
answered on 20 Apr 2012, 04:29 PM
Thanks, fixed...
When applying  the filter i was taking the DataFieldAlias with outerText:

function submitFilterRequest(valueField) {
[...]
filterItem.dataFieldAlias = getGrid().get_masterTableView().HeaderRow.cells[getCellIndex(valueField.get_element())].outerText;

This doesn't work on FF...
Now it's fixed taking textContent if the previous is undefined....

The customer continue to assert that the same was working before, and that was taking me out from the right way... :)
Tags
Grid
Asked by
Cristian
Top achievements
Rank 1
Answers by
Elliott
Top achievements
Rank 2
Cristian
Top achievements
Rank 1
Share this question
or