| deselectCell() | ใช้ยกเลิกการเลือกวันที่ ณ ตำแหน่ง cell ที่กำหนด และจะคืนค่าวันที่ที่ยังคงถูกเลือกอยู่ |
|---|
method:deselectCell ( cellIndex )
return type:void, Date[]
content:ใช้ยกเลิกการเลือกวันที่ ณ ตำแหน่ง cell ที่กำหนด และจะคืนค่าวันที่ที่ยังคงถูกเลือกอยู่
example:var config = { pagedate: "1/2009", mindate: "1/5/2009", maxdate: "1/15/2009" }; var calendar = new YAHOO.widget.Calendar ( "table", "container", config ); calendar.render ( ); calendar.select ( "3/24/2009-3/28/2009" ); calendar.deselectCell ( 26 );