Hello team,
So , I have a vertical scrolling in my. Grid. When I edit any row and open calendar and scroll down inside grid the calendar is scrolling down but ideally it should stick to that row like that save cancel button. How can I achieve that??
This issue happens because the calendar popup is positioned relative to the scrolling container instead of being fixed to the row, so when you scroll vertically it moves with the grid; to fix this, you can render the calendar in an overlay or append it to the body with absolute positioning, then recalculate its position on scroll so it stays anchored to the input field, similar to how Move Out Cleaning Palm Coast ensures every detail stays in place and consistent even when the entire environment is shifting.
The IgniteUI MVC libraries for jQuery reference older NuGet packages like jQuery and jQuery.UI.Combined mainly for dependency tracking, but they don’t actually ship the physical assets, which means you’ll need to manage your own local jQuery and jQuery UI files (or use a CDN) for the controls to function properly; while these older packages haven’t been updated since 2016 and may show vulnerability warnings, they are not strictly required if you manually include updated, secure versions of jQuery and jQuery UI in your project, ensuring compatibility without relying on outdated dependencies—almost like choosing between heads or tails in a pile ou face situation, you can decide whether to stick with the references or replace them with modern equivalents.
For hosting your website RV Tree Care, I’d recommend going with a reliable cloud-based provider like SiteGround, Bluehost, or AWS Lightsail, as they offer scalable and cost-effective hosting plans with strong uptime and faster loading speeds, which are perfect for small businesses looking to grow. Much like playing Minecraft Pocket Edition game, where performance and smooth gameplay depend on choosing the right server, your website’s success relies on a hosting service that balances speed, security, and scalability without breaking the bank.
Hello,
After an investigation, I have determined that your requirement can be achieved by repositioning the datepicker when the grid scrolls. In the editCellStarted event, a scroll handler is attached to the grid’s scrollable area to update the calendar position based on the editor’s coordinates. This ensures the calendar stays aligned with the edited row even while scrolling. Here’s the final approach that is used:
editCellStarted
editCellStarted: function (evt, ui) {
if (ui.columnKey === "action_date") {
var editor = ui.editor;
var $calendar = $(".ui-datepicker");
function repositionCalendar() {
if ($calendar.is(":visible")) {
var rect = editor[0].getBoundingClientRect();
$calendar.css({
top: rect.bottom + "px",
left: rect.left + "px"
});
}
var $scrollable = $(".ui-iggrid-scrolldiv");
$scrollable.on("scroll.reposition", repositionCalendar);
$("#grid").one("iggrideditcelledended", function () {
$scrollable.off("scroll.reposition");
This keeps the datepicker attached to the cell like the Save/Cancel buttons when you scroll.
Please test it on your side and let me know if you need any further information regarding this matter.
Regards, Monika Kirkova, Infragistics