473,324 Members | 2,548 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

how to change the header of my dhtmlXGridObject....in header i want to pass the value

Expand|Select|Wrap|Line Numbers
  1. mygrid = new dhtmlXGridObject('mygrid_container');
  2.  
  3.          mygrid.setImagePath("Resources/javascript/dhtmlxGrid/codebase/imgs/");
  4.          mygrid.setSkin("dhx_skyblue");
  5.          mygrid.setHeader(",<%=defaultmonth1%>,#cspan,#cspan,#cspan,#cspan,<%=defaultmonth2%>,#cspan,#cspan,#cspan,#cspan");
  6.          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)%>");
  7.          //mygrid.setIconPath("Resources/javascript/dhtmlxGrid/codebase/imgs/icons_books/");
  8.          mygrid.setInitWidths("100,100,100,100,100,100,100,100,100,100,100");
  9.  
  10.  
  11.  
  12.             mygrid.setColAlign("left,left,left,left,left,left,left,left,left,left,left");
  13.  
  14.             mygrid.setColTypes("ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro");
Apr 13 '11 #1
0 1433

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Al | last post by:
Ref:how to pass value along with click of a button hi,I have created a form that has single button. as follow <asp:button id="btnCallfunction" runat="server" text="func_call" onclick="add_int" />...
3
by: john woo | last post by:
Hi in JSP, it's easy to pass value from java-variable to javascript-variable, like js_function(a) { a=<%java-class.A%> } I'm wondering how is the other way around? I tried
3
by: pei_world | last post by:
I have a user control: - using LoadControl("MyCtrl.ascx") MyCtrl _mycontrol = (MyCtrl)LoadControl("MyCtrl.ascx") Page.Controls.Add(_mycontrol); _mycontrol.Text it will be loaded when some...
3
by: appearinggalaxy | last post by:
How can I change the column header text in windows form datagrid? *-----------------------* Posted at: www.GroupSrv.com *-----------------------*
3
by: startsmart | last post by:
Hi This is first time to write and alse it is first time to show this site my problem is i need to pass value from any input type like text for example to hidden field I tried to make a...
8
dmjpro
by: dmjpro | last post by:
i want to change the default connection time-out value. which is by default 5 minutes. i want to change this value. actually this value is set against a HTTP-HEADER. i just want to know that...
1
by: jadeivel756 | last post by:
I BADLY NEED YOUR HELP...... HELP... hOW TO Pass value to a struct type and permanently store the data after youve given the data.The programming language is C. My problem is that as I exit the...
4
by: jadeivel756 | last post by:
I BADLY NEED YOUR HELP...... HELP... hOW TO Pass value to a struct type and permanently store the data after youve given the data.The programming language is C. My problem is that as I exit the...
12
by: William Gill | last post by:
I am retooling my design habits, trying to get rid of some mental artifacts, and trying to "standardize" my starting point "templates" (both html and css). I am also trying to avoid "div-itis." I...
0
by: perdijc | last post by:
I create a dataset via visual studio wizard and then I drag some columns to a form in details mode. So in my form I have some coontrols binding to bindingsource. If a run the project, all controls...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.