OlegK

Forum Replies Created

Viewing 15 replies - 46 through 60 (of 968 total)
  • Author
    Replies
  • in reply to: Frozen Column with Toolbar Filter and dynamic row height #101392
    OlegK
    Participant

    Hi Betty,

    I posted recently on the stackoverflow the answer

    in reply to: Adding more than two column group headers #101391
    OlegK
    Participant

    Hi Thomas,

    I think it's you who posted the same question on the stackoverflow. I answerd it recently here. See the demo. which displays the following picture:

    I think the example could be interesting for other users of jqGrid. I think that one can extend the code of jqGrid based on the example to implement the same functionality as the part of standard jqGrid code.

    Best regards
    Oleg

    in reply to: setSelection case insensitive #101348
    OlegK
    Participant

    Hi DigitalForster,

    I suppose that you use Internet Explorer. It's remind me about the old answer. I made an official support request to Microsoft and Microsoft confirmed that rows.namedItem

    in reply to: How To use JQgrid Without any server side language #101358
    OlegK
    Participant

    Hi mohsin,

    I would interpret your original question like Tony did: loading local JacaScript data. If you do need to load data from some public server then you should typically use JSONP. See the answer, this one, this one

    in reply to: Not able to find the grid.jqueryui.js? #101311
    OlegK
    Participant

    I don't understand your question about grid.jqueryui.js. It's just one from modules of jqGrid. If you download jqGrid you can unselect (remove) some modules which you definitively not use. Per default all module are selected, so grid.jqueryui.js is inside of jquery.jqGrid.min.js or jquery.jqGrid.src.js.

    The demo which you posted seems to me independent from your question. You use sortable: true option in the grid which implementation is inside of grid.jqueryui.js

    in reply to: TUTO advanced formatter #101219
    OlegK
    Participant

    Sorry, but it's not what I would recommend you. Could you post more full code which you use: at least one line of input data is required. You should post the colModel definition too where you use

    in reply to: TUTO advanced formatter #101216
    OlegK
    Participant

    Sorr, but I don't understand what you don't understand.

    If you need to change the style of the cell like in isDebt example then you should use cellattr. The main advantage is that you can still use some predefined formatter for the column. For example you can use formatter: “number” or formatter: “date”. So the number can be displayed with thousand separator and decimal separator defined in locale. You still can access to the whole data of rows using third parameter of cellattr

    in reply to: index in colModel #101211
    OlegK
    Participant

    I recommend you don't include index in colModel. You should specify the property only if you have datatype: “json” or datatype: “xml” and you don't use loadone:true and if you want to have alternative name of columns which should be send to the server instead of the value of name property of colModel. Only in the case you should include index

    in reply to: loadonce can’t refresh #101210
    OlegK
    Participant

    Look at the answer

    in reply to: TUTO advanced formatter #101209
    OlegK
    Participant

    Sorry, but I can't full follow your last arguments. You don't need to define can define cellattr or rowattr as anonymous function. You can use function statement or save anonymous function to variable and use the name of function/variable as the value of cellattr or rowattr. In other words you can do almost the same what you do with formatter property, but use cellattr instead. The implementation of cellattr

    in reply to: TUTO advanced formatter #101207
    OlegK
    Participant

    I think it's not good to use custom formatter to change CSS of the cell. jqGrid provide cellattr for the purpose. One can use additionally rowattr to set CSS on the whole row of grid instead of changing the style of the cell only. It allows to use some formatter (like formatter: “currency”) to format the content of the cell and use cellattr

    OlegK
    Participant

    It seems to me that I answerd almost the same question here. I hope it will solve your problem too.

    in reply to: Trying to delete without confirmation in col actions #101172
    OlegK
    Participant

    Hi,

    the correct code should have delOptions inside of formatoptions:

    { name: 'Acciones', formatter: 'actions', width: 100, sortable: false, align: 'center',

    in reply to: How to set imgpath #101165
    OlegK
    Participant

    I wrote you the answer on the same question here.

    in reply to: How to set imgpath #101162
    OlegK
    Participant

    You don't need to specify the opton imgpath. The option don't exist in jqGrid since version 3.5 (see the documentation). If you still use some hystorical retro version of jqGrid I would strictly recommend you to update it to the correct version which is now 4.5.2.

    Best regards
    Oleg

Viewing 15 replies - 46 through 60 (of 968 total)

Stay connected with us in your favorite flavor!