tony

Forum Replies Created

Viewing 15 replies - 76 through 90 (of 7,981 total)
  • Author
    Replies
  • in reply to: Sorting Inconsistencies #125159
    tony
    Keymaster

    Hello,

     

    Download the last build from GitHub here

    When unpacking use only jquery.jqGrid.js or jquery.jqGrid.min.js from the js directory.

    Using the example from  jsfiddle do

    This way we define a custom sortfunction to which we pass not only the compared values a,b, but the object value oa, ob.
     
    The object value contain the index property which stores the indexes of the sorted rows to their historical insertion. I.e the index begin from 0 and end to the last record number.
     
    Note that we do not compare for equality since we are sure that the indexes are unique.
     

    I think it is a fix – not very good, but we have the same behavior in all browsers.
     
    Please let us know if this is ok for you.
     
    Kind Regards,

    • This reply was modified 9 years, 11 months ago by tony.
    in reply to: Sorting Inconsistencies #125157
    tony
    Keymaster

    Hello,

     

    I will send you instructions tomorrow.

    Best Regards 

    in reply to: Sorting Inconsistencies #125155
    tony
    Keymaster

    Hello,

     

    I have a progress on your problem.

    Would you like to test this solution?

     

    Kind Regards,

    in reply to: Sorting Inconsistencies #125153
    tony
    Keymaster

    Hello,

     

    I see the problem you point. To be a honest, this is not a jqGrid problem, but rather a way how different browsers apply the sort algorithm.

     

    I have checked  in our jqGrid code and it is  according to the ECMA specifications – the sorting function  return -1, 1, 0 which is correct, but… Chrome is exception.

     

    This article (instead that it is old) is true today.

     

    I have try to implement the idea mentioned in the discussion above, but Chrome has a totally unexpected behavior in the last version when we apply a sort to the object

     

    I will try to apply another approach, but I do not promise that it will be ok.

     

    Kind Regards,

     

    in reply to: Submit button focus on last field #125150
    tony
    Keymaster

    Hello,

     

    There is a option in editRow method – named focusField. If set with number >=0 it focus to that field.

    It is not possible to focus the Submit button with this option.

     

    You can try this:

     

     

     

    Kind Regards

    • This reply was modified 9 years, 11 months ago by tony.
    in reply to: dependent dropdown in subgrid #125147
    tony
    Keymaster

    Hello,

     

    Please check if the cntryval is filed using console.log.

     

    One more advice. I suggest you to create variable which refer to this and use it in your code, something like this:

     

    var that = this;
    var sr = jQuery(that).jqGrid(‘getGridParam’,’selrow’);

     

    This is needed since in some scopes like ajax  and each this  refers to the current content.

     

    I suggest you to make first two depended list boxes – i.e as simple as possible and see where the problem is.

     

    You can check every variable and see what is happen.

     

    Also be a sure that the ajax calls are ok and they return the expected content.

     

    Please let me know if you have difficulties on realizing this.

     

    Kind Regards,

    in reply to: CSS problem on ColMenu #125145
    tony
    Keymaster

    Hello,

    Thank you for reporting this problem.
    The problem is already fixed. You can either wait for the new bug fix release (after 7-10 days) or get the fix from GitHub.

     

    Kind Regards,

    in reply to: dependent dropdown in subgrid #125142
    tony
    Keymaster

    Hello,

     

    I think you have mixed the PHP code with javaScript. Thuis can be seen in beforeShowForm event, where the code is stored in $beforeshowedit variable.

     

    In this code you have calls to jQuery(“$subtable”).jqGrid(‘getGridParam’,…);

     

    $subtable is a PHP variable while jQuery(..) is a JavaScript code.

    Since this id is changed dynamically you can not obtain it in this way.

     

    To solve the problem use this  insteag of $subtable in beforeShowForm event.

    The this point to the current active grid.

     

    In beforeShowForm event replace all
     

    jQuery("$subtable").jqGrid(...);
     
    with
     
    jQuery(this).jqGrid(...);

     

    Best Regards,

    tony
    Keymaster

    Hello,

     

    It seems I have not explain good.

    Please provide the code where this happen. This will help us to identify the problem.

    I see you use Bootstrap and jQueryUi in one place. What styling in jqGrid is used – jQueryUI or Bootstrap?

    The code which demonstrates the problem is highly appreciated.

    Please before to post the code be a sure that the problem you describe exists.

     

    Kind Regards,

     

    tony
    Keymaster

    Hello,

     

    Can you please provide a test case for the problem?

     

    You should understand that with this kind of description is very difficult to reproduce the problem. To be a honest we can look for this problem 2- 3 days without success.

     

    Also it is very important which js libs are used and on which browser this happen.

     

    Any additional information will help.

     

    Thank you

     

    Kind Regards,

     

    • This reply was modified 10 years ago by tony.
    • This reply was modified 10 years ago by tony.
    in reply to: jqGrid – Freezing columns with row spanning #125131
    tony
    Keymaster

    Hello,

     

    I apologize for the situation and the tone of behavior.

     

    Each software product has problems. If someone does not recognize this, then something is wrong.

     

    Most problems are solved, but there are those who find it difficult to be solved in a particular situation or efforts made to resolve them would bones too.

     

    In your case it really is and you repeatedly been told that at the moment this is the solution.

     

    Of course there are software products, where this problem does not exist, but that does not mean that we need to mention how bad the product Guriddo jqGrid is, for which you have paid license.

     

    Again, I apologize for what happened and I hope in the future to find common solutions, not hatred.

     

    To corrected the mistake Your  License was extended by three months and personally I am committed to 10 days to give you a definitive answer to the problem.

     

    Kind Regards,

     

    • This reply was modified 10 years ago by tony.
    tony
    Keymaster

    Hello,

     

    The problem is not in jqGrid, but rather in jQuery implementation. Some explanation here

     

    Kind Regards,

    in reply to: Search is Using Index Field #125119
    tony
    Keymaster

    Hello,

     

    It is a good idea to give us a feedback, if the answered problems are resolved, before to post many other questions.

     

    Thank you.

     

    Kind Regards

    in reply to: jqGrid Accessibility/ Section 508 compliance #125084
    tony
    Keymaster

    Hello,

     

    Making the grid Section 508 Compliant is a process and not ready solution.

    To be a hones we are not familiar with JAWS.

    Can you please describe in detail the problem with example.

    Only in this case we can help to solve such kind of problems

     

    Thank you

     

    Kind Regards,

    in reply to: treegrid PHPsuito 5.1 Adjacency model broken? #125077
    tony
    Keymaster

    Hello,

     

    Sorry again. Could you please try again?

     

    Do not forget to clear your browser cache.

     

    Kind Regards,

Viewing 15 replies - 76 through 90 (of 7,981 total)

Stay connected with us in your favorite flavor!