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 - Igerson

Pages: [1]
1
Great!

If patch is possible, let me know, so I can apply it until it get fixed in upcoming release(s)

Thank you very much.

2
Hello

When trying to drag column for reordering, then small handle appears representing dragged column (see picture of it: https://ibb.co/8L1SsgBt). When column is dragged on position where it cannot be dropped, f.x. target column has
Code: [Select]
nodrop: true, I expected that handle will update its state, replacing icon on it to represent that column cannot be dropped here, but it seems not a case, it still shows that column can be dropped in prohibited place, but when I release mouse button - nothing happens. My intention was to provide visual feedback to user, where column can be dropped and where is not. Does PQGrid has some API or tools to acheve that? I implemented columnDrag event handler, which updates table header columns model with nodrop properties once column start being dragged

I dig a source code a bit trying to find answer, but without much success, but I found piece of code, which seems to be responsible for nodrop handling, and it appears to be empty (see picture https://ibb.co/mCsHRypQ)

So, my question is, can I somehow update drag handle to provide feedback where column can be dragged and where not?

Thanks in advance

3
Hi, Paramvir

Thank you, then I'll be looking in way you suggest.

4
Hi Paramvir,

I found that interacting (f.x. set cell selection) with table rendered in scaled up (190%) container produces somewhat strange results.
When I try to set selection on ceratin cells, table body rendered with offsets which makes table look broken. Another case
when I try to interact with table's scroll bar. Then table body jumps up.
JS Fiddle reproducing problem: https://jsfiddle.net/1wmbf7ts/
Here is some screenshots:
- After click on table's scrollbar
https://ibb.co/prHgLqP
- After set cell selection on bottom line, rightmost column, I think it should be not fully rendered to trigger auto scroll
https://ibb.co/fDWpFpd

I suspect it is related to table body position based on original table/cell dimensions, not scaled ones.
So, question is, how it could be fixed?

Pages: [1]