Bootstrap-table: Extension natural-sorting not working when applied to bootstrap-table starter template

Created on 6 Nov 2019  路  5Comments  路  Source: wenzhixin/bootstrap-table

I was testing the natural-sorting extension with the bootstrap-table starter template, but it does not work.

https://live.bootstrap-table.com/code/GCru/1066

(In the editor it does not show the rows but when publishing the file they are shown.)

Thank you

Most helpful comment

All 5 comments

Will test it tomorrow, but i think we dont need that extension.
It only contains 2 Functions which will be used on the data-sorter attribute.

Can we remove it, what do you think @wenzhixin @djhvscf ?

Maybe we can remove it as extension but add it as example/resource

Could these be added to the customSort example?

Fixed in #4692

Example: https://live.bootstrap-table.com/code/wenzhixin/1172~~

Custom sort example: https://live.bootstrap-table.com/code/wenzhixin/1173~~

Removed the natural-sorting extension.

I will add examples in the https://github.com/wenzhixin/bootstrap-table-examples repo.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jesussuarz picture jesussuarz  路  17Comments

loveleshsaxena picture loveleshsaxena  路  20Comments

gadget00 picture gadget00  路  16Comments

hello-code picture hello-code  路  29Comments

wenzhixin picture wenzhixin  路  35Comments