tony

Forum Replies Created

Viewing 15 replies - 5,731 through 5,745 (of 7,981 total)
  • Author
    Replies
  • tony
    Keymaster

    Hello,

    You make two calls to editRow with diffrent edit functions

    in reply to: Multiple select in celledit – no comma delimiter #86690
    tony
    Keymaster

    Hello,

    Thanks for this. You can download the fix from GitHub.

    Regards

    Tony

    tony
    Keymaster

    Hello,

    Try to use the last alfa 3.

    Regards

    Tony

    in reply to: editGrowRow afterComplete #86688
    tony
    Keymaster

    Hello,

    THanks. Fixed. In 3.5 alreday fixed.

    in reply to: BUG: opera, chorm, ie #86687
    tony
    Keymaster

    Hello Shamun,

    Thanks. Could you please look here:

    http://www.trirand.com/blog/?page_id=18/help/jqmodal-position-search-edit-in-ie/page-1

    Regards

    Tony

    in reply to: Security of jqGrid #86657
    tony
    Keymaster

    Hello,

    Thanks for pointing this.

    This can be a long discussion. Shortly: jqGrid is so secure as jQuery is – I mean jqGrid uses ajax calls to obtain the data from web. This is the “hidden” part. The data from the server then is manipulated and represented at user – i.e jqGrid represent a tabular data. If you use another grid component (Dojo, Yahoo and etc) the things are the same. The data that you provide is at the user machine and you can not secure it since you want this data to be seen from the user. There is no sense (and you can not) secure the data at user machine. In the client machine user can manipulate the content in a way that they want – I mean using FireBug I can enable or disable what I want and etc. Is this bad?

    The answer is – yes it is bad if you do not have sercuring procedures at server. If you have strong securing procedures at server you should not care about the data at the user machine.

    The real securing IMHO should be done at server. Typically in my applications I check for every request:

    1. If the user is logged in the system

    2. compare the password from this user to one stored in my database (encrypted)

    3. Does the user have the right for this page.

    4. If the user has this right what actions are allowed for this user.

    5. Check the parameters that are passed from user

    6. At end write the sql so that no SQL injection can be done (typical I use prepared statements)

    This of course slow down the speed, but let me say slow speed higger security is better.

    This is one part of this process. Of course you can use SSL, VPN and etc. You can allow only certain users to have acces to the system if you known thier IP and so on.

    I think we started something that will be interested for others

    Best Regards

    Tony

    in reply to: Resizing grid based on number of records displayed #86653
    tony
    Keymaster

    Hello,

    Read the docs or better look at language file.

    Regards

    Tony

    in reply to: Datepicker association based on formatter? #86652
    tony
    Keymaster

    Hello,

    I do not think that your approach is bad.

    jqGrid is designed to give freedom, not ready solutions.

    Imagine I attach a datepicker to all fields marked as date, but what will be if

    1. not jQuery UI is used

    2. The developer do not want to attach this datepicker

    3. the developer do not want to attach datepicker as all.

    In this case I should write a couple of not needed code with huge logic

    Regards

    Tony

    in reply to: JSON and DJANGO #86651
    tony
    Keymaster

    Hello,

    If I look all is ok and it should work. Will make some test on this.

    Thanks

    Regards

    Tony

    tony
    Keymaster
    in reply to: validate #86649
    tony
    Keymaster

    Hello,

    As I see this has nothing to do with jqGrid, but with validation plugin. Please post your problem on the right place.

    Regards

    Tony

    in reply to: Help with getGridParam #86648
    tony
    Keymaster

    Hello,

    Sorry but I do not understand what you mean.

    Regards

    Tony

    in reply to: 2 grids and only 1 pager works #86647
    tony
    Keymaster

    Hello,

    What I try to explain is:

    If I click on the book icon of the first grid the second (hidden grid) is triggred two times. This can be asy seen with firebug.

    Also try the following on second grid (in order to understand what is happen)

    ..jqGrid({

    datatype : “jsonstring:

    datastr: ' ” ” ',

    });

    instead of datatype local.

    Regards

    Tony

    in reply to: set data #86646
    tony
    Keymaster

    Hello,

    addRowData is not supported currently with tree grid. Also refer to docs.

    Regards

    Tony

    in reply to: custom formatter in treegrid #86645
    tony
    Keymaster

    Hello Stefan,

    This is what I mean.

    “I'm not sure I understand “named conventions”, “

    sorry I mean data is provided as name:value i.e. the way that you do.

    Please let me known if the option 2 work.

    Regards

    Tony

Viewing 15 replies - 5,731 through 5,745 (of 7,981 total)

Stay connected with us in your favorite flavor!