tony

Forum Replies Created

Viewing 15 replies - 466 through 480 (of 7,981 total)
  • Author
    Replies
  • in reply to: jqgrid edit delete add buttons #102194
    tony
    Keymaster

    Hello,

     

    You define the pager as jQuery object.

    Not sure, but try to define it only as string i.e

     

    pager: ‘#pager2’,

     

    Regards

    tony
    Keymaster

    Hello,

    Sortable columns are not compatible with group header.

    Note that this is documented

    REgards

    in reply to: subgrid does not expand when grouping is active #102192
    tony
    Keymaster

    Hello,

     

    In subGridRowExpanded you define custom functions ciDetailsFormatter and function detailsFormatter.

    These are executed every time you expand the grid and of course this will bring a error

    Define these functions outside this subgrid scope.

    The more simple way is just to use very simple subgrid and then add other custom things.

    Regards

    tony
    Keymaster

    Hello,

    Humm – it seems that I tell you this is wrong way.

    Try with

    loadonce: true

    and do not use

    gridComplete to put the data type local – i.e disable this event.

    The trick should be that if loadonce is true – it put automatically datatype local after loading the data.

    The other code do not need to be changed.

    Also it is a good idea to use key:true in one column of colModel.

     

    Please let me know on the result. If this does not help I will try to prepare a example.

     

    Kind Regards

    Tony

    in reply to: jqgrid #102184
    tony
    Keymaster

    Hello,

     

    Try to clear your browser cache and try to register.

    Also in this case we recommend you to use Chrome browser.

    Please report this problem to support at trirand dot net.

    If you can not register, please send the problem to the above e-mail.

     

    Kind Regards

    Tony

    tony
    Keymaster

    Hello,

     

    Use onPaging event to change the datatype. Do not forget to set it again to local in the gridComplete event.

     

    See docs for these events.

     

    Regards

    Tony

    in reply to: How to achieve fluid jqGrid height #102180
    tony
    Keymaster

    Hello,

    Thanks. It works ok now.

     

    Kind Regards

    tony
    Keymaster

    Hello,

     

    Thanks for the feedback and posting your solution.

     

    Regards

    in reply to: UI Dialog and search:true #102178
    tony
    Keymaster

    Hello,

     

    Please check that you use the latest jqgrid and jquery ui css files.

     

    Regards

    in reply to: jqgrid #102177
    tony
    Keymaster

    Hello,

     

    Please post your question here

     

    Regards

    in reply to: subgrid does not expand when grouping is active #102176
    tony
    Keymaster

    Hello,

     

    It all depends how you do this.

    Maybe you want to show your code.

     

    Regards

    tony
    Keymaster

    Hello,

     

    This is not a bug not in jqGrid itself, but it is a bug in the user provided function tableToGrid.

    I recommend yo to get the data as array and create the grid from scratch, not using this method.

    Note that I plan to remove this method from the build in the next release and put it in the custom methods.

     

    The bug is between these lines of code

        // Add data
        var a;
        for (a = 0; a < data.length; a++) {
            var id = null;
            if (rowIds.length > 0) {
                id = rowIds[a];
                if (id && id.replace) {
                    // We have to do this since the value of a checkbox
                    // or radio button can be anything
                    id = encodeURIComponent(id).replace(/[.-%]/g, “_”);
                }
            }
            if (id === null) {
                id = a + 1;
            }
            jQuery(this).jqGrid(“addRowData”,id, data[a]);
        }

     

    Comment this fragment and one step above change the setting to:

     

      jQuery(this).jqGrid(jQuery.extend({
            datatype: “local”,

            data :  data,

            width: w,
            colNames: colNames,
            colModel: colModel,
            multiselect: selectMultiple
            //inputName: inputName,
            //inputValueCol: imputName != null ? “__selection__” : null
        }, options || {}));

    in reply to: 2nd Grid not showing in Internet explorer #102174
    tony
    Keymaster

    Hello,

     

    As far as I know ie8 you have a error here

    ….

    dayNamesShort: ,
    dayNamesMin: , <— comma here
    });

     

    IE does not like this.

    Check for other such kind of errors

    Regards

    in reply to: jqGrid grouping bug #102166
    tony
    Keymaster

    Hello,

     

    A test case is needed, otherwise I can not help.

    Maybe initially you should sort the data in appropriate manner. We have removed groupDataSorted : false from one of the previous releases.

     

    Regards

    tony
    Keymaster

    Hello,

     

    If you use  key true the id shouldcome from that row.

    Will be interesting from me if you put online example or post a code with some data.

     

    Regards

Viewing 15 replies - 466 through 480 (of 7,981 total)

Stay connected with us in your favorite flavor!