Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - devspec

Pages: [1]
1
Help for ParamQuery Pro / Strange view of pagination (5.2)
« on: September 01, 2018, 11:42:56 pm »
Pagination looks like:

Span with select is empty:

Page model is:

I use bootstrap and this hack:
Code: [Select]
$.fn.bootstrapBtn = $.fn.button.noConflict();What I'm doing wrong?

2
Suggest new features / Avoid blinking
« on: November 24, 2017, 07:07:03 pm »
As you suggested me here, I reload data and refresh the whole grid:

Code: [Select]
setInterval(function () { ReloadList() }, 5000);

function ReloadList() {
  $.getJSON("/api/Parse/TasksList?type=0&page=&api_key=", function (data) {
    $grid.pqGrid('option', 'dataModel.data', data.data);
    $grid.pqGrid('refreshView');
  });
}

But every 5 seconds selected cell is blinking - I recorded the video, you can see this behaviour here on youtube.
And if a cell selected on top of a table and I scrolled a page down, every 5 seconds page scrolls by her own to selected cell position. I also recorded it and you can see it here.

So, the questions are:
1. How to avoid blinking of selected cell during grid refresh?
2. How to avoid upscroll of page to selected cell during grid refresh?

Thank you

3
Help for ParamQuery Pro / Progress bar and refresh cells
« on: November 10, 2017, 08:24:57 pm »
Hi guys!

Didn't found the answer not here nor in google, so...

I have a list of json objects like

Code: [Select]
[
{
    status : 0,
    progress: 75,
    count: 1432
},
{
    status : 1,
    progress: 100,
    count: 435
},
...
]

I reload it with ajax from my server every 5 seconds. List can be more than 10000 records.

How to:
1. Add a simple progress bar to cell that will be changed after every reload of json?
2. How to refresh only the cells with "count" and "progress" binding and only with progress value < 100? I don't need to refresh rows/cells than already done (progress=100%)



Thank you for answers!

Pages: [1]