rstaib/jquery-bootgrid

Search returns Uncaught TypeError: Cannot read property 'search' of undefined

Open

#186 geöffnet am 6. Aug. 2015

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (1 zugewiesene Person)JavaScript (375 Forks)batch import
help wanted

Repository-Metriken

Stars
 (976 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

I am populating the table inside an ajax call

//ajax
...
success: function(data) {
    $("#my-table").bootgrid().bootgrid("append", data.data);
}
...

Everything works except search which returns the error

Uncaught TypeError: Cannot read property 'search' of undefined

line 180 is where it breaks

...
 column.converter.to(row[column.id]).search(searchPattern) > -1)
...

Contributor Guide