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 - hyh888

Pages: [1] 2 3 ... 7
Wheng using following code to set default value for pqgrid column, there is a "Uncaught TypeError: Cannot redefine property: id"  problem.
The code comes from
            rowTemplate: {},
            complete: function(){
                let rt = this.option('rowTemplate'), cm = this.getColModel();
                    let def = col.defaultValue, di = col.dataIndx;
                    if( def !== undefined ){
                        Object.defineProperty(rt, di, {
                            enumerable: true,
                                var val = this[ "_" + di];
                                return val == null? def: val;;
                                this[ "_" + di ] = val;

It's realy a pity to make so much trouble to spot it as a bug.

3   has less 404 error, maybe it's more friendly for debug.

All  code are uploaded into, would you like to try it?

Would you like to let me know which file is alerted for virus? I'm using visual studio 2019 to make the simplest project. I'll try my best to find a living demo website.

Dear paramvir,
Have you find  any solution for my question?

Now only pqgrid.min.js(ParamQuery Pro v8.6.0) is not uploaded, I'm sure you have this file.

I upload jqueryui many times but always failed. PQgrid is too big to be uploaded.

here are jquery

Even I tried, but I found that the file is too big.  I have to removed some file. You have to put jquery.min.js(jQuery v3.3.1),jquery-ui.min.js(jQuery UI - v1.12.1 - 2016-09-14),pqgrid.min.js(ParamQuery Pro v8.6.0) manually into the BDMS_files directory.

For I'm in China, it seems I couldn't visit the jsfiddle website.
After redebuging, I found that "that.$popup.find(".pq-select-search-div").outerHeight(true)" is OK, but "that.$selectAll.outerHeight(true)" is undefined.
   "that.$selectAll" is available.

The pqselect css file is included. For all my data is come from server side and I don't know how to show them in the jsfiddle.
If using a fixed integer to replace the htFinal(just like what I do in the last image I uploaded), the select editor can work though it not satisfied for me.
If it's convenient you can look it wiht remote control software.

Using to debug it, it seems that could not be found, that.$selectAll.outerHeight(true) also has no value.

it seems that div.pq-select-menu couldn't be rendered, even it is rendered, there is problem for its height.

It seems that vertical scrollbar in select editor disappeared.

Pages: [1] 2 3 ... 7