In java script i have 5 check box having 5 different name,which contain corresponding values...if i check one box i will get corresponding value in a grid below,,if check 2 box then two will come,,,like wise...
please help
3 2747 gits 5,390
Expert Mod 4TB
what do you have so far? please show some code to work with.
kind regards
- var mygrid;
-
function doOnLoad() {
-
-
-
mygrid = new dhtmlXGridObject('mygrid_container');
-
-
mygrid.setImagePath("Resources/javascript/dhtmlxGrid/codebase/imgs/");
-
mygrid.setSkin("dhx_skyblue");
-
mygrid.setHeader(",<%=defaultmonth1%>,#cspan,#cspan,#cspan,#cspan,<%=defaultmonth2%>,#cspan,#cspan,#cspan,#cspan");
-
mygrid.attachHeader("Asset, <%=tempNames.GetData_frm_Location(0,0)%>, <%=tempNames.GetData_frm_Location(1,0)%>, <%=tempNames.GetData_frm_Location(2,0)%>,<%=tempNames.GetData_frm_Location(3,0)%>,<%=tempNames.GetData_frm_Location(4,0)%>,<%=tempNames.GetData_frm_Location(0,0)%>,<%=tempNames.GetData_frm_Location(1,0)%>, <%=tempNames.GetData_frm_Location(2,0)%>,<%=tempNames.GetData_frm_Location(3,0)%>,<%=tempNames.GetData_frm_Location(4,0)%>");
-
//mygrid.setIconPath("Resources/javascript/dhtmlxGrid/codebase/imgs/icons_books/");
-
mygrid.setInitWidths("100,100,100,100,100,100,100,100,100,100,100");
-
-
-
-
mygrid.setColAlign("left,left,left,left,left,left,left,left,left,left,left");
-
-
mygrid.setColTypes("ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro");
-
-
mygrid.attachEvent("onRowDblClicked", function(rId,cInd){});
-
-
mygrid.init();
-
//this code enables paging and sets its skin;
-
mygrid.enablePaging(true, 100, 10, "pagingArea", true, "infoArea");
-
mygrid.setPagingSkin("bricks");
-
mygrid.loadXML('<%=XMLPath%>');
-
-
}
in the above code in grid all the temp names are coming on grid head....but i want which checkbox i'll click(those r presents in an another jsp)the corresponding tempname and is value(from database) will come on my grid according to date selected in the same previous jsp
Sign in to post your reply or Sign up for a free account.
Similar topics
by: John Smith |
last post by:
Hi,
How can I tell on the double click event of the datagrid whether or not a
row was double clicked or a column header was double clicked?
My problem is I open a new form on the double click...
|
by: Anthony |
last post by:
I am defining the datagridtable style for a grid
....
Dim coursekeycol As New DataGridTextBoxColumn
coursekeycol.MappingName = COURSEKEYCOLNAME
coursekeycol.HeaderText = ""
coursekeycol.Width...
|
by: cgsh |
last post by:
I do have some problems working with GridView and ObjectDataSource.
When clicking Edit / Delete bottoms i grid - no values from grid are passed
to routines. Help !
Regards
cgsh
|
by: ColliersWNC |
last post by:
I know there is probably a simple solution to this, but I haven't
figured it out yet or seen it else where.
Imagine you had a simple web page that looked like the following:
<html>
<input...
|
by: fanoftvb |
last post by:
Hi, is there a way to update the data in access by clicking on a button on the gridview. I have a columm named "state" in my database. How do i change the "statue" columm by just clicking on the...
|
by: makis |
last post by:
hello,
How can i send data from grid component to messagebox?
which code or process we need?
|
by: blossam |
last post by:
hi friends,
i want to add data in grid at runtime
means when i click enter or tab i want a new row in grid so i can add value in that
i know how to do this in windows application
but i want to...
|
by: sasimca007 |
last post by:
Hi friends,
I have a doubt about checkboxes, i.e if i am creating checkboxes with the same name, in a loop and i have another checkbox down to the above checkboxes, My problem is...
|
by: priyamv |
last post by:
Hi all,(Its urgent)
I have a asp:radiobutto and asp:checkbox in my page..
Once the checkbox is clicked the radiobutton should be disabled ..how can i do it with javascript or AJAX..
...
|
by: lauranoel |
last post by:
I have 3 button-images in one page, such that when you press 1, it should show the iFrame related to it, and hide the others. I just started learning about webdev, and I've browsed online, but i...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |