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.


Messages - ksoerens

Pages: [1]
1
ParamQuery Pro Evaluation Support / Ignoring empty rows when sorting
« on: November 18, 2014, 11:40:26 pm »
When using the grid I always leave at least one empty row at the bottom, making it easy to fill in extra data.

But when clicking on a column header and getting the grid sorted, then the empty row gets sorted as well which isn't surprising of course. But not necessarily always what you want to be happening.

So may I suggest a future sorting option to be added, like 'ignoreEmpyRows'.... and maybe implemented in a way which moves ALL empty rows to the bottom upon sorting, no matter which way the sorting order is.

2
Above my grid I have some dropdown lists - one for each column in the grid. If a horizontal scroll bar appears in the grid, I need to scroll the dropdowns as well.

I've tried something like this:

    $("div.pq-sb-horiz").on("pqscrollbarscroll", function (event, ui) {
      alert('scroll');
    });

and

    $('#grid_json').on("pqscrollbarscroll", function (event, ui) {
      alert('scroll');
    });

outside and inside the $(document).ready event.

But my functions never get triggered.

What am I doing wrong....?

Thanks in advance for your help  :)


3
Help for ParamQuery Pro / Re: Dynamic column minimum width
« on: November 07, 2014, 01:05:08 pm »
Thanks for the reply.

So I had to solve it the hard way by running through the cells for each column and measuring the text size, including the title, and after that setting the minWidth to the largest size found.

The code is attached to events like Create and CellSave. And I also run the code when one or more rows are deleted manually. So now the horizontal scroll bar appears before the text gets wrapped when resizing the window.

4
Help for ParamQuery Pro / Dynamic column minimum width
« on: November 05, 2014, 06:21:29 pm »
I need the grid to be able to adjust its columns to their minimum width. What I mean is, each column must have a width, which is at least as wide as the title or the content - depending on which one is widest. Neither the title, nor the content must break the line if spaces occur.

If I resize the window, so it gets smaller than the grid, the grid must still keep its minimum size, but then it can be scrolled by a horizontal scroll bar which will be visible in this case.

If I resize the window, so it gets BIGGER than the grid, the grid must increase each column width, like when the Fluid Laout is used.

Basically most of the functionality is already provided by the Fluid Layout. But is there any way to achieve what I want?

Thanks in advance for your reply!  :)

 

Pages: [1]