ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: choidongjun on May 06, 2020, 01:37:55 pm

Title: How can I prevent cell overflow input box?
Post by: choidongjun on May 06, 2020, 01:37:55 pm
Hi Paramquery Team,
I'm using ParamQuery Pro v7.1.0.

How can I prevent cell overflow input box?
Title: Re: How can I prevent cell overflow input box?
Post by: paramvir on May 06, 2020, 09:29:16 pm
Currently there is no inbuilt option to prevent input overflow, option might be added in upcoming versions.

Meanwhile you may use this to prevent input overflow.

Code: [Select]
$.paramquery.cEditor.prototype.fixWidth = function( ui ){
var that = this.that,
            $td = ui.$td, td = $td[0],
width = td.offsetWidth,
$grid = that.widget(),
$editor = ui.$editor;

$editor.css("width", width+"px");

        this.position($editor, $grid, $td);
}
Title: Re: How can I prevent cell overflow input box?
Post by: Webauthor on November 04, 2020, 11:19:28 pm
Hi, I'm having an issue related to this.  Please see attached image.
Title: Re: How can I prevent cell overflow input box?
Post by: Webauthor on November 05, 2020, 01:26:39 am
Figured out the issue - was a conflict on my end.