FooTable icon indicating copy to clipboard operation
FooTable copied to clipboard

Reorder footable by progressbar when it's value changes

Open CarlaMontserrat opened this issue 7 years ago • 0 comments

Hello everyone,

I've been working with footable for some days and I have found some things that cause some trouble to me. I'll explain my case: What I'm trying to do is a generic footable which gets the values from database (understanding for values everything, I mean, the quantity of columns, the quantity of rows and also it's value). One of this values is a progress bar which can change over time if you have the concrete page opened.

The matter is the following: I have a function that refreshes the value of the progress bar every 5 seconds(without having to refresh the page), this works and changes all the values and properties correctly but I can't get to reordenate the rows (I mean putting the ones which have a % higher first and the once which have % lower last or vice versa). They always keep the position that would have to occupy before the change (unless I refresh the page) although the value has changed (both in the page and database).

I'd understand it if it hadn't changed at the moment of refreshing itself every 5 seconds. But it doesen't do it nor when it refreshes automatically nor when I push the reorder button.

Thanks for your attention

CarlaMontserrat avatar Aug 22 '18 08:08 CarlaMontserrat