Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Roosevelt on Nov 28, 2008 10:53
open dhtmlx forum
select_filter with DragAndDrop

Hi, I have two grids.
The first has a select_filter, when I DragAndDrop one item to second grid, and change the select_filter and changed again the item
that was DragAndDrop, still there. What????
Answer posted by Support on Dec 01, 2008 01:45
When grid switched to filtered state, it memorize original state and restore it back, after filtering removed from grid. 
If you have added or deleted row to|from grid in filtered state, operation will be reverted after filtering removing ( grid will restore old state, which doesn't contain info about modification. 

While it possible to workaround issue for direct add|delete commands
http://dhtmlx.com/docs/products/kb/index.shtml?cat=search&page=1&q=3752&ssr=yes&s=filter%20delete
It will require a lot of coding to allow d-n-d from|to grid in filtered state.
Answer posted by Roosevelt on Dec 01, 2008 15:02
I use your answer, and my problem solved. But if i use d-n-d, filter and paging. The rows of the pages two, tree, four, not delete.
If i filter and i try delete, row that are in the pages two, and d-n-d to the grid two, the row not delete. The row continue in the grid one, and add the grid two.
I use http://dhtmlx.com/docs/products/kb/index.shtml?cat=search&page=1&q=3752&ssr=yes&s=filter%20delete this solution, but with paging
yhis solution not working. Why????? Thanks...

Answer posted by Support on Dec 02, 2008 02:37
Issue can't be reconstructed, the local sample, which uses the same approach - works correct ( working sample sent by email )
Which version of grid you are using?
Answer posted by Roosevelt on Dec 02, 2008 09:11
I'm use grid 1.6.
Answer posted by Support on Dec 02, 2008 09:41
The problem not occurs for dhtmlxGrid 2.0 and may really exist in earlier builds of dhtmlxgrid 1.6
Please contact us directly at support@dhtmlx.com - we will provide you latest version of dhtmlxgrid.js with fixes related to your problem