rstaib/jquery-bootgrid

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

Open

#186 ouverte le 6 août 2015

Voir sur GitHub
 (3 commentaires) (0 réactions) (1 assigné)JavaScript (375 forks)batch import
help wanted

Métriques du dépôt

Stars
 (976 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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)
...

Guide contributeur