JQuery :: Increase / Decrease Index Of Column In Grid
Jun 1, 2010
I allow my users to upload files to be imported into our database. These are usually csv or tab delimited files.I have a few customers that can't grasp the fact that the columns for the import need to be in a particular order, so for those customers, I have to manually import their files.I'd like to build a configuration screen for them to tell me what format their file is in so I can save the configuration and then import their files based on that configuration. That way, I won't have to manually import their files.I'd like something that would allow them to move columns in a table or grid to match their specific configuration.
My import process requires this configuration:Part Number,Alt P/N# or NSN P/N#,Condition Code,Quantity,Description.But several customers have files that are in this format:Part Number, Description, Quantity, NSN, Condition, Alt-Number, Manuf .I discard any unused columns, such as Manuf. (for this customer, we don't use NSN, we use Alt-Number for the Alt P/N# or NSN P/N#)I want to present them with a grid showing only the headers. Then each column should have a right and/or left arrow on them. When the arrow is clicked, that would increase/decrease the index of the column in the grid and it would move positions in the grid.Then I will take the column indexes and save them in a configuration for the customer's format to be remembered.
View 6 Replies
ADVERTISEMENT
Mar 31, 2009
I am using the following code to allow the user to increase / decreasethe font size of the document. I have tested it in many browsers andin all of the following it comes back with a starting font size of16px.Firefox 3.0.8Google Chrome 1.0.1Safari Win 4 Public BetaIn IE 6/7 the font size is always coming back 1243px. Why is theresuch a difference and is there anyway to get around this besides hardcoding the starting size?
<script type="text/javascript" language="javascript">
$(document).ready(function(){
var originalFontSize = getFontSize();
[code]....
View 2 Replies
View Related
Jul 28, 2009
I'm trying to create a button that will increase and decrease the var speed variable
ex:
View 2 Replies
View Related
Mar 6, 2010
I wish to increase or decrease the size of a div by using + and - buttons. How would this be done?
View 12 Replies
View Related
Feb 8, 2011
To javascript and ve got stuck,
function resizeText(multiplier) {
Here is my code it currently incresaes the font size and decreases it with use of 2 buttons on my page, but i want it to only increase in series of 2px at a time with a total of 4 clicks then it must revert to the original size.
View 7 Replies
View Related
Mar 6, 2010
i am getting the following error with my example code below. Message: Object doesn't support this property or method i am wanting the buttons to increase or decrease the DIV
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
[Code]...
View 1 Replies
View Related
Oct 23, 2009
Anyone know there is any control available in ajaxtoolkit to produce a SliderExtender control with increase/decrease button? or the other way round the NumericUpDownExtender control with a slider.
View 1 Replies
View Related
Apr 6, 2009
Any script which will allow users to increase or decrease the font-size of a site.. Free scripts that I can use...
View 1 Replies
View Related
Nov 1, 2009
I'm using this increase/decrease font size script:
Code:
/* Use with multiple IDs: <a href="javascript:increaseFontSize('myID','myID2','myID3');">A</a> */
var min=8;
[Code]....
It works well, but only if the text is wrapped in <p> tags. Can it be changed to just work without the paragraph or any other element - other than the element with the ID used in the script and containing the text?
View 9 Replies
View Related
Jun 15, 2010
i have one issue on Font resizing - To set proportional fonts(i.e Arial or verdana) to match window size. That is, if this setting is in effect, and the window is enlarged, then the font size should correspondingly increase.if you get the browser's width and height details on window resize,is it possible through javascript?
View 1 Replies
View Related
Sep 23, 2011
I want to put a button inside a grid column, I am using Struts jQuery Grid showcase
View 6 Replies
View Related
Jul 23, 2011
I am looking for placing small up and down arrows next to my textbox. They would work with by increasing/decreasing number of products. The text box would be active so a client could put the number of a product himself/herself or simply by clicking the up/down arrows next to the text box.
I am not sure how to look for it, I mean I thought something like that should exist by default, I search w3c and I can find only combo box etc.
View 1 Replies
View Related
Jul 13, 2011
I have a question for flexigrid jquery grid control users.
I am able to display json data returned from my WCF service in my Flexigrid in my application.
The paging toolbar displays correctly and it's clear that the paging toolbar understands how I've configured it.
However, the grid is not actually implementing the paging filter on the data in the grid. For example, the paging toolbar says "Displaying 1 to 10 of 12 items". However, all 12 items are displayed in the grid.
I guess I'm missing a config setting or callback. Any idea what the problem might be?
Here is my grid config block:
View 1 Replies
View Related
Aug 10, 2010
I'm using drupal, and am having trouble to convert a table to a one field two column at code level.Is it possible to manipulate it using jquery using odd and even?
View 2 Replies
View Related
Aug 25, 2010
I am trying to get the index of a li with a specific class. I know I'm selecting the right object because I can apply a CSS class to it (eg change border colour) but when I try to get the index it returns -1. But I know the object exists as I can alter it. :-s
jQuery(document).ready(function() {
var active = $("#tertiarynavigation .bordered").get(0);
var num = $("#tertiarynavigation li").index(active);
alert("Index: " + num);
[Code]......
View 1 Replies
View Related
Sep 12, 2009
Can i make a column as a checkbox column?
View 1 Replies
View Related
Jan 26, 2009
I have the below array called "results". When I loop through all document elements I would like to check "field_name" against the "results" array and see if it exists and what index number it is at??
// Split the comma delimited response into an array
results = result.split("~");
//Loop through array and populate fields[code].....
View 9 Replies
View Related
Jul 1, 2010
how can i increase a value when i submit a form.for example, lets use comments. there are 10 comments. and somewhere on the page there is a place that shows "10 Comments"
when i submit a comment, that text will change to "11 comments". how do i do that?
View 4 Replies
View Related
Jun 1, 2011
On page load I want a div app 50px height to expand from left hand side of the window to the right starting at 0px width and expanding to 700px app.
View 2 Replies
View Related
Apr 4, 2009
I have an array similar to this:
0 -> 0
1 -> 5
2 -> 9
3 -> 2
4 -> 1
5 -> 6
6 -> 8
7 -> 7
...
There is no clear logic and that does not matter. I need to decrease the values of those by one where the value is higher than x. How would I do this?
For instance, if x = 5, then that array becomes
0 -> 0
1 -> 5
2 -> 8
3 -> 2
4 -> 1
5 -> 5
6 -> 7
7 -> 6
...
All values higher than 5 were decreased by one.
View 8 Replies
View Related
Mar 4, 2011
I want to use the .css of jquery to take lets say 5 buttons css position absolute left value. I want increase this value. So it will move the buttons to the right. I have a button that when clicked that it will run this jquery code. Where the 5 buttons moves to the right. I want to do this all at ones. In otherwords I want to put $("#1_button,#2_button,#3_button").css("left": function (value) { code to increase left position value}); I want to do something like that. Is it possible? and how would one do it. what I want it to do is grab all the buttons left position value and then add numbers to it to increase all buttons left position shifting all to the right. So if I add 10px I want all buttons to increase by 10px causing it to move 10px to the right.
View 3 Replies
View Related
Nov 5, 2009
I'm using the Javascript technique found in the banner of [URL] on a project that I'm currently working on. Like the Bradford site, however, the results are a bit jumpy between pictures. Unfortunately I'm not strong enough in Java skills to resolve this. how to make the transition more smooth?
View 9 Replies
View Related
Sep 25, 2009
I have following code:
[Code]...
How can I rename cloned element? Should be fine to increase its name by one,e.g.: original id1 into cloned id2 and so on.[URL]...
View 2 Replies
View Related
May 18, 2010
I just started using JQuery and I have a lot of questions, but this is the most complicated one:
I'm trying to show a dialog using Jquery UI. The problem is that into my dialog I'd like to insert a (dynamic) grid using JQGrid. is this possible, or I should create a normal html table?
View 1 Replies
View Related
Jun 9, 2010
How exactly does the sizing of the grid work? I have a grid that I've tried to experiment with and it seems like no matter what setting I use, there is a vertical and a horizontal scrollbar. the only thing that changes is if it stretches to fill the its container div. How do I get it to fit within a specific width and also to not display scrollbars?
View 3 Replies
View Related
Aug 10, 2010
I have an unusual situation. I need to increase the font size of every word in a sentence, one at a time, everytime you click on the page / div. any ideas ?
my closest idea was to wrap each word in a <span> tag and then use .next("span"), but that controls all of spans.
If i had <span>word one</span> <span>word 2</span>, how would i style one span at a time by clicking a single button ?
View 6 Replies
View Related