Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - igor

Pages: [1]
1
Help for ParamQuery Grid (free version) / Re: ParamQuery ColModel
« on: August 28, 2014, 08:06:12 pm »
We use additional plugins based on jquery and some of our own.
Also, sometimes we get "can't find children of null" type error, I am not sure that this is related though, and
a "cannot call methods on pqScrollBar prior to initialization; attempted to call method 'option'" exception, which means that we place the init code of the grid at an incorrect place.

Is there a certain spot this code should appear in code when writing JS ?

2
Help for ParamQuery Grid (free version) / ParamQuery ColModel
« on: August 28, 2014, 07:50:26 pm »
Hi, we use the free version of param query and a weird situation is happening.
a well defined grid doesn't show the column model header.
what can be the cause to that ?

I have attached the grid initialization.
with the sample code it works ok, but not with my code.

var netColModel = [
                  { title: "CIDR Address", width: 100 },
                  { title: "Network Name", width: 100 }
                 ];
                  
   var netDataModel = [["345345","dfgdfg"],["234234","66565fg"]];
   
   var netGrid = $('#net-grid').pqGrid({ height: 440, width: 800,
        dataModel:  { data: netDataModel },
        colModel: netColModel,
        title: "Grid",
        resizable: true,
        draggable: false,
        columnBorders: true,
        sortable: false,
      editable: false,
      selectionModel: {type: 'row', mode: 'single'},
        scrollModel: {horizontal: false}
    });

3
hi everyone,
in our application we often load html and javascript content into the grid and after a while there is a redirect to some page,
or maybe a script executing from that specific cell. Is there a way to disable this execution or maybe to make the cell treat its content as simple text.

thanks in advance

Pages: [1]