Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9047377
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T11:53:41+00:00 2026-06-16T11:53:41+00:00

The grid works regularly when using the select at normal view, 100%, however if

  • 0

The grid works regularly when using the select at normal view, 100%, however if changing the size to a smaller or the zoom, the select does not work properly. On the other hand, the option check works perfectly at any views

example http://jsfiddle.net/mutesex/czxgg/2/

$("#slider").slider({
  value: 1,
  min: 0.1,
  max: 2,
  step: 0.1,
  slide: function (event, ui) {
    $("#amount").html("" + parseInt((ui.value) * 100) + "%");
    $('#<%= GridView1.ClientID%>').animate({ zoom: ui.value }, 1);
      //selectable___();
  }
});

$("#amount").html("100%");

function selectable___() {
  $(document).ready(function () {
    $("#<%= GridView1.ClientID%>").selectable({
     filter: "td[free='yes']",

     stop: function () {
     var result = $("#select-result").empty();
     $(".ui-selected", this).each(function () {
       var dia__ = $(this).attr("infodia");
       if (!ExisteItem(dia__)) {
         result.append(" #" + dia__);
         diasSeleccion.push({ infodia: dia__ });
       }
     });
   },
   unselected: function (event, ui) { var e = $(ui.unselected); removeItem(e.attr("infodia")); },
   unselecting: function (event, ui) { var e = $(ui.unselecting); removeItem(e.attr("infodia")); }
   });  
  }); 
};
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T11:53:43+00:00Added an answer on June 16, 2026 at 11:53 am

    Do not use zoom, selectable widget ignores it. Instead set height and width on slider change.

    Remove !important from following widths and heights in your css

        .cell
        {
            ...
            width: 200px;
            ...
        }
        .cellcalday
        {
            ...
            height: 100px;
            ...
        }
        .cellcalfds
        {
            ...
            height: 100px;
            ...
        }
    

    Change your script like this

                $("#slider").slider({
                value: 1,
                min: 0.1,
                max: 2,
                step: 0.1,
                slide: function (event, ui) {
    
                    $("#amount").html("" + parseInt((ui.value) * 100) + "%");
                    //$('#ctl00_container_GridView1').animate({ zoom: ui.value }, 1);
                    $("table#ctl00_container_GridView1 tr td.cell").css('width', Math.round(200 * ui.value));
                    $("table#ctl00_container_GridView1 tr th.cell").css('width', Math.round(200 * ui.value));
                    $("table#ctl00_container_GridView1 tr td.cellcalday").css('height', Math.round(100 * ui.value));
                    $("table#ctl00_container_GridView1 tr td.cellcalfds").css('height', Math.round(100 * ui.value));
    
                }
            });
    

    jsFiddle here: http://jsfiddle.net/Ten4u/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

SELECT works, Edit button works, but after editing, when I press Save the Grid
After I click update in the grid view, the code works successfully. But when
I have a dojox.grid.DataGrid where I want to select a row programmatically. I'm using
I am using editablegrid from www.editablegrid.net and noticed that my grid works well as
The grid with the options below with the filtertoolbar works fine when you comment
I have added checkbox selection model to grid panel. It works fine in IE8
I am returning a model from my controller that displays a grid. Works fine.
What grid library does swivel.com use? It looks pretty nice. Is it made inhouse?
I should add sorting order icons to Ajax WebGrid. The following approach works: grid.Column(Name,
I am able to display Flexigrid in a normal view called from my main

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.