Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    showFilterEditor acting weird

    I added showFilterEditor to an existing working Listgrid, and the listgrid stopped displaying. While debugging using firebug found that, it showed. "Too much recursion" error, is some obfuscated part of javascript.
    Code:
    isc.ListGrid.create({
            ID: "eventList",
            width: "100%",
            height: "100%", margin: 1,
            dataSource:"logevent",
            showResizeBar: true,
                showFilterEditor: true,
                filterOnKeypress: true,
            fields: [                 
    //                 {name:"",canEdit: false, width: 1},
                     {name:"date", type:"date",
                        formatCellValue: function (value) {
                            if (value) {
                                return value.getShortMonthName()+' '+value.getDate()+', '+value.getFullYear();
                            }
                        }
                     },
                     {name:"time", title: "Time", type:"time", width: 100, align:"left",
                         timeFormatter: "HH:MM:SS"
                     }
                     ],
            sortField: "date", sortDirection: "descending",
            canHover: true,
            cellHoverHTML : function(record, rowNum, colNum) {
            return "Select to display details";
            }
            
        });
    When I added the dummy field at first, it started displaying the listgrid. Somehow the date was not displayed otherwise. Without the showfiltereditor everything works fine.
    What could be the issue? pls help.

    #2
    What version of SmartClient are you using? (Always post this)

    Your code works for us against the latest code - can you try a recent nightly build?

    Comment


      #3
      I am using 7.0rc2_Pro

      Comment

      Working...
      X