Problem in Pivot table Drop down list on column header

Case:-i am using a pivot works fine.

it show me a three drop down on top of the grid and one for column.

i have a problem in column drop down list.

Problem is when i grid load it contain all value starting from ‘-select-’ by default.but when i select any of them for display column display a value,but that drop down box value became i think it should not be empty.

On the other hand if a select any value from to the above three drop down is show a corresponding

list value and it also preserve the drop down list value.

Problem confirmed and fixed, please use attached js file instead of original one. (2.62 KB)