tony

Forum Replies Created

Viewing 15 replies - 7,171 through 7,185 (of 7,981 total)
  • Author
    Replies
  • in reply to: beforeSubmit #83540
    tony
    Keymaster

    Hello,

    Use

    beforSubmit: function(pdata) {

    // do something here

    }

    pdata is array that contain the from the form. Also refer to docs

    Regards

    Tony

    in reply to: Why is the GridHeader sometimes hidden in Firefox? #83537
    tony
    Keymaster

    Hello,

    I found the bug and it is corrected.

    Regards

    Tony

    in reply to: Unable to make Search work #83534
    tony
    Keymaster

    Hello,

    Sorry for this typing error in the docs. Now the right is

    The wrong code is:

    <script src=”js/jquery.jqModal.js” type=”text/javascript”>
    <script src=”js/jquery.jqDnR.js” type=”text/javascript”>

    Best Regards

    Tony

    in reply to: height issue, navgrid/pager shows at bottom of window…. #83533
    tony
    Keymaster

    Hello,

    This I will see is standart behavior.

    What mean 50% or 100%:

    The reason is that without a parent defined height,
    the height:100% has nothing to factor 100% percent of,
    and will default to a value of height:auto- auto is an “as needed value”
    which is governed by the actual content, so that the height:100% will
    a=only extend as far as the content demands.

    The solution to the problem is by assigning a height value to the parent
    container, in this case, the body element. Writing your body stlye to
    include height 100% supplies the needed value.

    body {
    margin:0;
    padding:0;
    height:100%;
    }

    Regards

    Tony

    in reply to: Id from server #83532
    tony
    Keymaster

    Hello,

    Try with this

    jsonReader: {

    in reply to: Post dynamically additional data to the editurl #83531
    tony
    Keymaster

    Hello,

    Really very strange. To test find delGridRow method, then find

    if( typeof p.onclickSubmit === 'function' )

    p.delData = p.onclickSubmit(p) || {};

    after this make

    alert(p.delData.wmemno) ;

    After this find

    var postd = $.extend({oper:”del”, id:postdata},p.delData);

    and then make the same

    alert(postd.wmemno)

    See the results.

    I will try to test this again.

    Regards

    Tony

    in reply to: Validation before submit #83530
    tony
    Keymaster

    Hello,

    For inline editing there is no validation, but you can use

    saveRow method and make you own validation here.

    Regards

    Tony

    in reply to: Post dynamically additional data to the editurl #83521
    tony
    Keymaster

    Hello,

    maybe this will help. (for delete)

    onclickSubmit: function(params){

    var gsr = $(“#grid_id”).getGridParam('selrow');

    var sdata = $(“#grid_id”).getRowData(gsr);

    return {wmemno: sdata.MemNo}

    }

    In my project this work

    in reply to: MultiSelect: Setting Items as Selected On Grid Load #83519
    tony
    Keymaster

    Hello,

    Use the undocumented

    gridComplete event for this purpose.

    It fires after all is done in the grid.

    Best Regards

    Tony

    in reply to: Aborting the ajax call #83517
    tony
    Keymaster

    Hello,

    Actually this is good recommendation.

    Thank you. I will see how will implent this.

    Best Regards

    Tony

    in reply to: Post dynamically additional data to the editurl #83515
    tony
    Keymaster

    Hello,

    What values are posted when you use delete?

    It is very strange, since the approach is the same as those in edit.

    Regards

    Tony

    in reply to: Dynamically change Form Editing #83514
    tony
    Keymaster

    Hello,

    Did you mean dpended listboxex?

    Currently not possible, but simply you can do that easy using the same

    in reply to: beforeSubmit #83513
    tony
    Keymaster

    Hello,

    What do you try to do?

    Regards

    Tony

    in reply to: Aborting the ajax call #83512
    tony
    Keymaster

    Hello,

    I highly recommend to check this server side.

    I will think how I can add something like beforeSearch Event

    Regards

    Tony

    in reply to: Validation before submit #83511
    tony
    Keymaster

    Hello,

    This can be extended easy.

    Open the grid.formedit.js and find the function

    function checkValues(val, valref)

    You will have idea how easy you can extend this.

    Best Regards

    Tony

Viewing 15 replies - 7,171 through 7,185 (of 7,981 total)

Stay connected with us in your favorite flavor!