jQWidgets Forums
Forum Replies Created
-
Author
-
May 6, 2016 at 12:31 pm in reply to: PopUp Window "Error: Invalid minWidth!" PopUp Window "Error: Invalid minWidth!" #84158
I see but
maxWidth: ’90%’ usually greather than minWidth: 50 (default)
If maxWidth is percentage the minWidth default value has to be percentage too. It works perfectly.
If I don’t give minWidth (default value) and I use maxWidth in percentage I will get error message.
Regards,
ZsoltMay 6, 2016 at 12:00 pm in reply to: PopUp Window "Error: Invalid minWidth!" PopUp Window "Error: Invalid minWidth!" #84156https://jsfiddle.net/szizso/vpyhe6n3/
I found the error, the problem is minWidth default value is ‘px’ and I use width in ‘%’ :
Error:
width: ‘90%’,
maxWidth: ‘90%’,
minWidth: 100,NO Error:
width: ‘90%’,
maxWidth: ‘90%’,
minWidth: ‘50%’,Best Regards,
ZsoltDecember 14, 2015 at 8:42 am in reply to: How-to use reserve char to fix char? How-to use reserve char to fix char? #79256thx
June 15, 2015 at 11:49 am in reply to: in filtered dataTable getSelection method is not work properly in filtered dataTable getSelection method is not work properly #72495thx
June 15, 2015 at 7:09 am in reply to: in filtered dataTable getSelection method is not work properly in filtered dataTable getSelection method is not work properly #72473Hi Peter!
Look at this pls:
http://jsfiddle.net/q8vvwuu2/68/
Select a row and than click the button – it works good
but,
– Set filter to “Label”, set “Acer”, do Filter
– Choose the first row, look at the event message, click the button, look at the getSelection method result.This is the bug!
If you use group on DataTable or ListBox, and use the filter, the getSelection method do not give the correct row!
Best,
ZsoltJune 12, 2015 at 10:51 am in reply to: in filtered dataTable getSelection method is not work properly in filtered dataTable getSelection method is not work properly #72414Hi Peter!
The method getSelection returns All Rows which are selected. <- It’s the problem. The row(s) is not correct row(s) is after I use filter dataTable (filterable: true, filterMode: ‘default’)!
This failure is listBox too. ListBox has visibleIndex! I try to explain to failure.
Example (I use pager, visible 3 rows in example):
row1 (index=0, visibleindexThisIsOnlyExplain=0)
row2 (index=1, visibleindexThisIsOnlyExplain=1)
row3 (index=2, visibleindexThisIsOnlyExplain=2)not visible (these are second page)
row4 (index=3)
row5 (index=4)
row6 (index=5)use filter the result in example:
row5 (index=4, visibleindexThisIsOnlyExplain=0)
row6 (index=5, visibleindexThisIsOnlyExplain=1)Click row5 (select)
Use getSelection method
Result is not row5 (index=4)! The result is row1 (index=0)Why do I get the row which index is 0, If I choose the filtered data first row which index is 4?
Best,
ZsoltJune 12, 2015 at 10:23 am in reply to: in filtered dataTable getSelection method is not work properly in filtered dataTable getSelection method is not work properly #72408Hi Peter!
I don’t want to clear the selection. The problem isn’t this! Sorry, my English is not good.
I have a jqxDataTable many rows. I see the first 10 rows. I use filter than I see filtered first 10 row. I click one of them (select).
I want to get the selected row ( var selection = jqxDataTable(‘getSelection’) ). I get the wrong row ( in selection[0] , I use selectionMode: ‘singleRow’ option)!
Example (I use pager, visible 3 rows in example):
row1 (index=0, visibleindex=0)
row2 (index=1, visibleindex=1)
row3 (index=2, visibleindex=2)not visible (these are second page)
row4 (index=3)
row5 (index=4)
row6 (index=5)use filter the result in example:
row5 (index=4, visibleindex=0)
row6 (index=5, visibleindex=1)Click row5 (select)
Use getSelection method
Result is not row5 (index=4)! The result is row1 (index=0)I hope so understandable.
Best,
Zsolt -
AuthorPosts