drvic10k / bootstrap-sortable

adding sorting ability to bootstrap table
MIT License
513 stars 131 forks source link

Sorting for dynamically added list #63

Closed dheeraja00 closed 8 years ago

dheeraja00 commented 9 years ago

Hi, I have a table inside bootstrap model and the rows are populating by an ajax call which is fired on show event of model, here sorting is not working, always getting the error "Uncaught TypeError: Cannot read property 'replace' of undefined" on "v = v.replace(/^\s/i, "").replace(/\s$/i, "");" (minified script).

Please help to resolve it.

drvic10k commented 9 years ago

this is too little information

where is that error comming from? from the tiny-sort minified script? or from your code?

if it is from tiny-sort, you can download the full script and use it for debugging