tony

Forum Replies Created

Viewing 15 replies - 2,941 through 2,955 (of 7,981 total)
  • Author
    Replies
  • in reply to: Save state of grid #93492
    tony
    Keymaster

    Hello,

    It seems like in your second page jqGrid java script files are not loaded.

    Regards

    Tony

    in reply to: How to edit a currency cell? #93491
    tony
    Keymaster

    Hello,

    According to your code, this field should not contain “$” as prefix, since you set a prefix to be empty string.

    Also the conversion should be done automatically if you use the build in formatters, so please look at your code again.

    Best Regards

    Tony

    in reply to: The add popup form doesnt accepts text field inputs #93490
    tony
    Keymaster

    Hello,

    Thanks.

    Also could you please provide a link to the problem?

    This is a second post with similar issue.

    I personally think that there are some css things that do this or some other plugins.

    A link to the problem is kindly appreciated.

    Thanks

    Best Regards

    Tony

    in reply to: Custom client side sorting #93489
    tony
    Keymaster

    Hello,

    Very interesting.

    I never try this, but you can use the onSortCol event not to stop the sorting, but rather to change the sorttype of the column, something like this:

    onSortCol : function(name, iCol, sortOrder) {

    if(name=='myname') {

    if(some_condition) {

    $(this).jqGrid('setColProp','name',{sorttype:'int'});

    } else {

    $(this).jqGrid('setColProp','name',{sorttype:'text'});

    }

    }

    }

    Regards

    Tony

    in reply to: jqgrid borders missing in IE #93488
    tony
    Keymaster

    Hello,

    Could you please provide a link to the problem?

    Regards

    Tony

    in reply to: Error “h is undefined” line 341 for subgrid #93487
    tony
    Keymaster

    Hello,

    You will need to configure the jsonReader for the subgrid in the right way. They is little diffrent for the

    Look here

    http://www.trirand.com/jqgridwiki/doku.php?id=wiki:subgrid#properties

    Try

    jsonReader : {

    in reply to: More on periods/colons in IDs #93486
    tony
    Keymaster

    Hello,

    Thank you for the investigations and recommendations.

    I think that there will be a long disscusion on should we have id or not, should we have on every DB table

    uniquie id or not. All these are up to developer and for the concrete project.

    jqGrid actually have a lot of features and and you actually can not care about the ids.

    If the id is not set or can not be found we use a counter.

    I think that you can use the following code from jqGrid

    in reply to: Add custom submit button #93485
    tony
    Keymaster

    Hello,

    I think yes.The same can be seen into the demo

    Best Regards

    Tony

    in reply to: setCell Function with empty Value #93474
    tony
    Keymaster

    Hello,

    Thanks. Done. Also I have do these in saveCell too. It really have sense.

    Thank you again

    Tony

    in reply to: True Scrolling problems #93473
    tony
    Keymaster

    Hello Klaus,

    Thanks for this. I will investigate the problems.

    Also in the last dev in GitHub I introduced a new parameter scrollTimeout with default value 200.

    Could you please set this value to smaller one – let say 80 or 100 and see if the problem persist?

    Thank you

    Regards

    Tony

    tony
    Keymaster

    Hello,

    Please look carfully in the same page how to do this. There is example

    in reply to: userData – remove stale data #93463
    tony
    Keymaster

    Hello,

    Thanks. This is a bug in the xml reader.

    Fixed. Will publish the fix late this day in the GitHub

    Best Regards

    Tony

    in reply to: Table to grid cells align issues #93462
    tony
    Keymaster

    Hello,

    try with colModel and not colmodel – Javascript is case sensitive

    Regards

    Tony

    in reply to: DnD and sortableRows grid behaviour #93461
    tony
    Keymaster

    Hello,

    Currently we do not have a progress on this.

    regards

    Tony

    in reply to: show link questions #93460
    tony
    Keymaster

    Hello,

    Yes this is true. To achive the desired result you should write your custom formatter.

    In the custom formatter you have all the data from the row.

    Regards

    Tony

Viewing 15 replies - 2,941 through 2,955 (of 7,981 total)

Stay connected with us in your favorite flavor!