emo.antonov

Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • Author
    Replies
  • in reply to: Delete table content? #97421
    emo.antonov
    Participant

    OK if someone have the same situation like me here is the solution:

    – I made function for grid initialization:

    function constructGrid(){

    in reply to: Delete table content? #97388
    emo.antonov
    Participant

    grid.custom.js is loaded after jquery.jqGrid.min.js (I've try before and after and still the same Confused)

    in reply to: Delete table content? #97387
    emo.antonov
    Participant

    It was my mistake by using GridUnload. This is the correct way:

    jQuery(“#maygrid”).jqGrid('GridUnload');

    But no matter that now the result in firebug is:

    u.p is undefined

    in reply to: Delete table content? #97386
    emo.antonov
    Participant

    I just try something like this:

    GridUnload(jQuery(“#maygrid”));

    for(var i = 0; i <= data.length; i++)

    in reply to: Color rows depending on a column value. #96519
    emo.antonov
    Participant

    Hi, I am using afterInsertRow event to change colors depending from column value. You can check documentation for this event and see if this will work for you.

    in reply to: Clearing Search Data #96436
    emo.antonov
    Participant

    I'm not sure i get you right but here it is what I am using:

    $(“#jqg_Bvb_Grid_Deploy_JqGrid”).jqGrid('navButtonAdd',”#jqg_pager_Bvb_Grid_Deploy_JqGrid”,{

    in reply to: Question about multiselect #95096
    emo.antonov
    Participant

    🙂 I found solution:

    var s = jQuery(“#jqg_Bvb_Grid_Deploy_JqGrid”).jqGrid('getGridParam','selarrrow');
    for(var i = 0; i < s.length; i++){

    in reply to: afterInsertRow problem #95054
    emo.antonov
    Participant

    You was totally right. When i construct normal grid, without using this application it works like a charm. So i just want to say, thank you again and i'll take my questions

    in reply to: escape value problem #95053
    emo.antonov
    Participant

    If someone else is using this php application related to jqGrid plugin, and have my problem, here is the solution (it is more easy than i was thinking):

    $grid->updateColumn('text', array('escape' => false));

    cheers 🙂

    in reply to: escape value problem #94994
    emo.antonov
    Participant

    Maybe i did not desciribe problem well. The whole thing i want is if i have

    text

    text

    to see this two paragraphs like this:
    text
    text

    in reply to: escape value problem #94980
    emo.antonov
    Participant

    Yes, i have read about that option, but it is not working in my case. If autoencode: false -> i see

    text

    , if autoencode: true -> <p>text</p>

    in reply to: escape value problem #94970
    emo.antonov
    Participant

    I found that the value in column is exact the same as value in db. How i read it in one of posts it is: what you have is what you put. But i dont want to have html tags in value (how to explain on none developer what is

    or
    ) 🙂

    in reply to: Integrating problem #94789
    emo.antonov
    Participant

    OK, if someone else have this problem too, here is the solution. As you see above in my previous post i was using this style to make instance:

    $grid = Bvb_Grid::factory('Bvb_Grid_Deploy_JqGrid', $this->_config, 'abuses');

    and here is the right way, and it works now:

    $grid = new Bvb_Grid_Deploy_JqGrid($this->_config);

Viewing 13 replies - 1 through 13 (of 13 total)

Stay connected with us in your favorite flavor!