CalendarXP.net Support Forum Index CalendarXP.net Support
Most forums here are private and invisible to public.
 
 FAQFAQ   SearchSearch   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Populating the calendar date across multiple rows

 
Post new topic   Reply to topic    CalendarXP.net Support Forum Index -> PopCalendarXP Related
View previous topic :: View next topic  
Author Message
mvfranci



Joined: 17 Apr 2007
Posts: 1

PostPosted: Wed Apr 18, 2007 1:42 pm    Post subject: Populating the calendar date across multiple rows Reply with quote

hi we are trying to add a calendar to our application. the location of the calendar date picker will be combined with a table header. the intended function of the calendar is to allow a user to select a date and for the selected date to populate across multiple rows. right now, when a date is selected, it only populates on the very last row. someone please help! i've attached the code snippet along with a screenshot of the application. look forward to some responses soon!!! thanks!
Back to top
View user's profile Send private message
calendarxp
Site Admin


Joined: 30 Jan 2005
Posts: 409

PostPosted: Wed Apr 18, 2007 10:47 pm    Post subject: Reply with quote

Sorry to get back to you this late - but I can't find any code attached.

However, based on your description I think all you need to do is to iterate through those html tags in rows (supposed you id them as row1, row2 etc.) within the fAfterSelect() plugin and assign the value one by one. e.g.

Code:
function fAfterSelected(y,m,d,e) {
  for (var i=0; i<10; i++) {
    gContainer.document.getElementById("row"+i).innerText=fFormatInput(y,m,d);
  }
}

_________________
Copyright 2003-2011 Idemfactor Solutions, Inc. All rights reserved.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    CalendarXP.net Support Forum Index -> PopCalendarXP Related All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Copyright 2003- Idemfactor Solutions, Inc. All rights reserved.
Powered by phpBB © 2001, 2005 phpBB Group