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

Pages: 1 2 [3] 4 5 ... 427
31
Help for ParamQuery Pro / Re: Clear Text Icon in Header Filters
« on: March 19, 2025, 06:47:41 pm »
Please set filterModel.hideClearIcon to true to disable it.

https://paramquery.com/pro/api#option-filterModel

32
It has nothing to do with jQuery/ jQueryUI but this is how scrollModel.autoFit works for now, the horizontal scrollbar is never displayed with this option.

The feature to display a horizontal scrollbar when column widths reach their minimum and no space remains for scrollModel.autoFit has been reintroduced in the upcoming version.

33
This feature was available in older versions of pqgrid but lost when we migrated to smooth native scrolling in v5.

It has been reintroduced in upcoming version, thanks for your feedback.

34
Thanks for reporting the issue. It's caused by change in functioning of jquery show method in 3.x, it only works if the element is attached to DOM.

There are 2 alternate ways to fix it.

1) Use this patch:

Code: [Select]
$.paramquery.pqGrid.prototype.showLoading = function () {
  this.loading = true
  this.$loading[0].style.display = "block"
}

or
2. Change the detailModel.init method

Code: [Select]
        init: function (ui) {
          var rowData = ui.rowData,
            detailobj = gridDetailModel(this, rowData), //get a copy of gridDetailModel
            $grid = $("<div/>") //.pqGrid(detailobj) //init the detail grid.

          setTimeout( _ => $grid.pqGrid(detailobj) );

          return $grid
        },

jsfiddle: https://jsfiddle.net/rpx0dkef/1/

35
Please ensure to upgrade jqueryUI also to one of the latest versions compatible with jquery 3.7.1.

Please remove the scrollModel.autoFit:  true option to display the horizontal scrollbar when required.

36
Help for ParamQuery Pro / Re: Using loadState in grouped fields
« on: March 11, 2025, 03:19:33 pm »
Is there any particular sequence of events which cause the error.

I've clicked the saveState and loadState buttons a couple of times while continuously changing various grid options, such as the group-by column, order of columns, page number, etc., but I haven't been able to reproduce the error so far.

37
Help for ParamQuery Pro / Re: Treegrid pagination
« on: March 07, 2025, 07:08:27 am »
It's mentioned on this example: https://paramquery.com/pro/demos/treegrid

Paging:

Treegrid is not compatible with paging.

38
I was hoping to see the live issue on jsfiddle. Since your jsfiddle is not functioning, I can only make a guess. There are a couple of showLoading and hideLoading calls in your code. Please comment them one by one and see how it goes.

39
Loading box is displaying fine in v9.1.1

https://paramquery.com/pro/demos91/nesting

No idea why it's not working for you. I can look into it if you have a jsfiddle to share.

40
Help for ParamQuery Pro / Re: Show tabular data in cell hover over
« on: March 05, 2025, 03:45:07 pm »
Rich html content can be displayed in the cell tooltips by using attr property in column.render callback.

Code: [Select]
render: function( ui ){
   return {
attr: {
title: "<b>Rich</b> <i>Text<i>!"
}
   }
}

and creating pqTooltip in the create callback in main grid options.

Code: [Select]
create: function (evt, ui) {               
        this.widget().pqTooltip();
}

41
The breaking changes between versions are documented in the upgrade guides, so you need to refer to the upgrade guides between v5.2.0 and latest version.

42
Row heights can be fixed by using rowHt option and set autoRow option to false.

https://paramquery.com/pro/api#option-rowHt

https://paramquery.com/pro/api#option-autoRow

43
you need to check code in OpenTranWindow function and use Group().option() method to set groupModel options.

https://paramquery.com/pro/api#method-Group

44
Apparently column render looks fine in your code and I don't see any reason why it would raise that error.

Could you share a jsfiddle / stackblitz reproducing the error.

45
Help for ParamQuery Pro / Re: How to remove column dragging from history
« on: February 17, 2025, 07:12:50 pm »
Please check the corrected example:

https://paramquery.com/pro/demos/editing_batch

Pages: 1 2 [3] 4 5 ... 427