ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: nuno.nogueira on April 16, 2014, 02:36:27 pm

Title: Wrap sub-grid and Localization
Post by: nuno.nogueira on April 16, 2014, 02:36:27 pm
Hello,

My sub-grid is initialized like:

Code: [Select]
var $grid = {
        width: 900,
        height: 300,
        flexHeight: true,
        collapsible: false,
        wrap: true,
        hwrap: false,
        resizable: false,
        rowBorders: false,
        numberCell: {
            show: false
        },
        track: true, //to turn on the track changes.
        scrollModel: {
            autoFit: true
        },
        selectionModel: {
            type: ''
        },
        //hoverMode: 'row',
        editModel: {
            saveKey: $.ui.keyCode.ENTER
        },
        showTitle: false,
        showBottom: false,
        (...)

1-The text in the sub-grid isn't wrapped when it's long although I'm using wrap:true
2- The localization isn't changed to pt-PT although I set:

Code: [Select]
$grid.pqGrid("option", $.paramquery.pqGrid.regional['pt']);
    $grid.find(".pq-pager").pqPager("option", $.paramquery.pqPager.regional['pt']);
Title: Re: Wrap sub-grid and Localization
Post by: paramvir on April 17, 2014, 12:17:10 pm
Please refer to localization instructions in the tutorial:

http://paramquery.com/pro/tutorial#topic-locale


2) Word wrap: Currently it wraps the text at empty space and doesn't wrap if it's a single long word which has been addressed in next version 2.0.5.

Do you have a screenshot where wrap is not working.