Open Jaspreet-shine123 opened 3 years ago
Try to play with grid_num
param.
Thank you Ion den for replying , but grid_num will divide the grid into number of parts it will not change the markers labels which is calculated by default library.
$(".js-range-slider").ionRangeSlider({ skin: "big", min: min, max: max, grid: true, grid: 4
});
What I need is : https://prnt.sc/11797jr
Please help
What i need is :
grid_num
is 4 by default. Set it to 20 or something.
I see that you want 25 and 50 and 75.
Problem is that your starting point is 4, not 0. And that means that automatic calculation of grid will not give you nice round numbers.
2 ways to fix this:
grid_num
to 10-20 to mask the problemdisable default grid and add your own grid a layer under slider , How can I add my own grid layer ionden ?
can you send me the code plse .. What i want is this
Please reply Ionden
It is easy. Open inspector. Find current grid. Copy paste it. Disable grid, then add copy pasted code on the page (change values to desired ones)
Can you please share us the code sample .. we tried it not worked on our end Ion den
Thnks for the code Ion den , but we will face issue in aligning the html Ion den.
Come on guys. Positioning elements is already off topic. Please ask on Stack Overflow.
Currently I am having the slider min and maximum as 4 and 100 and grid is displaying by default. I can add the custom labels in it but cant achieve in a better way .
what I want is https://prnt.sc/1177ou5 . My current code is :