Skip to content

Replies

0
Svetoslav Krastev
Svetoslav Krastev answered on Mar 31, 2020 12:56 PM

Hello Mariyam,

Having height 100% on the parent element shouldn't affect the grid. Are you sure the scrollbar you are seeing is not coming from the parent element?

Here's an example I have made for that demonstrates the grid having height null:
https://stackblitz.com/edit/angular-w7svkc 

If you have any questions regarding the sample let me know.

Regards,
Svetoslav

0
Svetoslav Krastev
Svetoslav Krastev answered on Mar 27, 2020 12:21 PM

Hello Mariyam,

You can set the height of the grid to `null`, which will render all rows without displaying vertical scrollbar.

One thing to note though, in this case, the grid virtualization is not applied and if you have too many rows you might have performance issues.

Also we have a topic regarding the grid sizing and different scenarios, if you need more information on this:
https://www.infragistics.com/products/ignite-ui-angular/angular/components/grid/sizing.html

Regards,
Svetoslav

0
Svetoslav Krastev
Svetoslav Krastev answered on Oct 31, 2019 4:48 PM

Hello Andy,

In general this is not an expected behavior. These 360ms sound like a lot for an event like the 'wheel' and there must be something that is causing this delay. Also you shouldn't need any additional libraries, the igniteui-angular should be enough on its own to load any of the Infragistics controls.

Do you have an example that you can share with us where this can be observed, because without seeing what is causing this , it would be quite hard to determine why this is happening.

Regards,
Svetoslav

0
Svetoslav Krastev
Svetoslav Krastev answered on Jul 30, 2019 12:43 PM

Great! Then this is where we will update on any related further development.

Regards,
Svetoslav

0
Svetoslav Krastev
Svetoslav Krastev answered on Jul 26, 2019 2:32 PM

Hi,

As Mason Zeimet suggested, this is the way it can be solved, since the loading indicator in this case is designed to be displayed only to be shown when there is no data. 

Since there is already an issue created on GitHub, I suggest if you have any further questions to address them here:
https://github.com/IgniteUI/igniteui-angular/issues/5517

Regards,
Svetoslav

0
Svetoslav Krastev
Svetoslav Krastev answered on Dec 14, 2016 2:31 PM

Hello Shashank,

Yes indeed when a column is set to hidden, the way you have shown, the actual column is not present in the DOM.
So from what I understand you need to get if the "ID" column is hidden or not. You can do that with the "getVisibleIndexByKey" method of the igGrid.

Calling for example $("#grid").igGrid("getVisibleIndexByKey", "id") in your case will return -1.
This means that the column is currently hidden. If it is not hidden it will return the index of the column which always is greater or equal to 0.

Let me know if this helps what you are trying to achieve and let me know if you have any more questions.

Regards,
Svetoslav Krastev,
Infragistics