jQWidgets Forums
Forum Replies Created
-
Author
-
Hi Mariya,
Thanks for the update, but i was wondering if there is any workaround?
Is there any other way to show the validation failed message and not use the validation hints? Like with a simple alert?
Or is it possible to turn the hints off? In such case i could use a simple alert when validation fails.
I can handle the notification part, if i could turn of the hints on the grid validations.
Regards,
Mohamed AzherHi,
To clear selection of a tree, you can use this.
$(“#jqxTree”).jqxTree(‘selectItem’, null); You will find this under selectItem in the API
Not exactly what you would expect to find, but it does work!
-Mohamed Azher
April 22, 2015 at 7:52 pm in reply to: jqxNumberInput editor in grid with cellsformat f2 jqxNumberInput editor in grid with cellsformat f2 #70159hi,
For those who are facing this issue, there is a workaround. Try setting the property symbol: ‘ ‘ to the jqxNumberInput.
Setting symbol to a blank space (‘ ‘ not ”) solves the issue.
Eg: editor.jqxNumberInput({ digits: 3,symbol: ‘ ‘});
Regards,
Mohamed AzherHi,
To implement drag drop re-sorting within a single grid you can do something like this.
Follow the drag drop examples given but set the dropTarget as the same grid. $(“jqxGrid”).
To get the dragged row and the row where it was dropped, do the following
gridCells.on('dragEnd', function (event) { var draggedRow = $(this).jqxDragDrop('data'); // this is the dragged row, has the complete row data var position = $.jqx.position(event.args);// mouse position var cell = gridSelector.jqxGrid('getcellatposition', position.left, position.top); //get the cell under that position var dropRow = parseInt(cell.row); var droppedRow = gridSelector.jqxGrid('getrowdata', dropRow); // this is the row where the drop occurred - complete row data // assuming you have a id column, make a ajax call using the draggedRow.id and droppedRow.id and sort them manually. });
This is the best what i could but gets the work done.
Regards,
Mohamed AzherHi Peter,
Thanks for that, I just found that myself :-). Changing to parentid solved the issue.
Thanks again for the support.
Regards,
Mohamed AzherHi Peter,
Thanks for the reply.
I will try out something and let you know if I find some workaround.
Regards,
Mohamed AzherHi Peter,
Is there any workaround for this issue? I have used a array datasource, should I use something else?
It would be helpful if you can show some points to get around this issue.
Regards,
Mohamed AzherDecember 26, 2014 at 6:11 pm in reply to: Grid Column Grouping Key Value Column Grid Column Grouping Key Value Column #64721Hi,
Thanks for your reply.
As i mentioned, the problem remains with the data.groupcolumn property being null for columns that have a displayfield set. So in effect, no proper grouping can be done on columns that have the displayfield property set as it uses the datafield as the label.
Looking forward for this issue to be resolved.
Regards,
Mohamed AzherDecember 25, 2014 at 2:58 pm in reply to: Grid Column Grouping Key Value Column Grid Column Grouping Key Value Column #64701Hi,
The last comment about only Andrew Fuller being shown can be ignored. I forgot the data was paginated.
But the main problem with the group name and grouprenderer remains.
-Mohamed Azher
November 3, 2014 at 10:32 am in reply to: jqxnumberinput spinbuttons issue jqxnumberinput spinbuttons issue #62050Hi Dimitar,
Thank you for your reply.
They actually do disappear often after the resize has ended.
If you could just run the code i posted above, and try resizing a few times, you would notice that it happens very frequently.
This is a big issue as our whole application is responsive, and all widgets work 100% ok, except this one.
As i said it even happens in the http://www.jqwidgets.com/jquery-widgets-demo/demos/twitter/bootstrap-grid-layout.htm?arctic when you change the input elements into number input setting width: ’100%’,spinButtons: true,inputMode: ‘simple’ and try to resize the window.
it works 20% of the time, 80% of the times the buttons just disappear.
Regards,
Mohamed AzherHi,
Thanks for you reply Dimitar. Although the error is thrown, i noticed that the validations still work. May be its going something to do with the timing where it fails during debugging.
I decided to leave it at that for now as it anyway works.
Thanks for your help.
Regards,
Mohamed AzherHi,
I just set 100/no_of_columns % as width to all the columns. This solved my issue.
Thanks again for your timely help.
Regards,
Mohamed AzherHi Peter,
Thanks for the super quick reply!
Unfortunately, my requirement is to have a fluid width to the grid. i.e. it has to resize on window resize. Also my table columns are dynamically generated so they do not have any width. I can at most set a single width to all the columns.
I tried setting all of them to auto (updated the fiddle) but it seems to break again if i do that.
Is there a way i can have auto width to all columns and solve this issue?
Thanks Again,
Mohamed AzherJune 21, 2014 at 9:25 pm in reply to: Passing parameters to Custom Validator Passing parameters to Custom Validator #56188Hi,
Please ignore this, i solved this by wrapping the rule creation in a closure.
-Mohamed Azher
June 20, 2014 at 11:09 am in reply to: Problem with applying cellsformat in foreignkey or key/value columns Problem with applying cellsformat in foreignkey or key/value columns #56148Hi,
Sorry for the trouble. The issue was with source parameter in the datafield given incorrectly
Thanks for you help.
-Mohamed Azher
-
AuthorPosts