jQWidgets Forums

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 34 total)
  • Author
    Posts
  • in reply to: Grid Validation Hint Issue Grid Validation Hint Issue #72381

    mohamedazher
    Participant

    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 Azher

    in reply to: jqxTree clearSelection jqxTree clearSelection #71192

    mohamedazher
    Participant

    Hi,

    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


    mohamedazher
    Participant

    hi,

    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 Azher

    in reply to: Grid row drag and drop Grid row drag and drop #68533

    mohamedazher
    Participant

    Hi,

    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 Azher

    in reply to: JqxTreeGrid Filter Issue JqxTreeGrid Filter Issue #66410

    mohamedazher
    Participant

    Hi Peter,

    Thanks for that, I just found that myself :-). Changing to parentid solved the issue.

    Thanks again for the support.

    Regards,
    Mohamed Azher

    in reply to: JqxTreeGrid Filter Issue JqxTreeGrid Filter Issue #66395

    mohamedazher
    Participant

    Hi Peter,

    Thanks for the reply.

    I will try out something and let you know if I find some workaround.

    Regards,
    Mohamed Azher

    in reply to: JqxTreeGrid Filter Issue JqxTreeGrid Filter Issue #66376

    mohamedazher
    Participant

    Hi 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 Azher


    mohamedazher
    Participant

    Hi,

    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 Azher


    mohamedazher
    Participant

    Hi,

    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


    mohamedazher
    Participant

    Hi 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 Azher

    in reply to: jqxvalidator Error jqxvalidator Error #60065

    mohamedazher
    Participant

    Hi,

    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 Azher

    in reply to: jqxGrid Border Issue jqxGrid Border Issue #57428

    mohamedazher
    Participant

    Hi,

    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 Azher

    in reply to: jqxGrid Border Issue jqxGrid Border Issue #57427

    mohamedazher
    Participant

    Hi 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 Azher


    mohamedazher
    Participant

    Hi,

    Please ignore this, i solved this by wrapping the rule creation in a closure.

    -Mohamed Azher


    mohamedazher
    Participant

    Hi,

    Sorry for the trouble. The issue was with source parameter in the datafield given incorrectly

    Thanks for you help.

    -Mohamed Azher

Viewing 15 posts - 16 through 30 (of 34 total)