[ 2 posts ]

Aderba

  • Username: AderbaDerbitova
  • Joined: Tue Jun 19, 2012 2:18 am
  • Posts: 1
  • Twitter: AderbaDerbitova
  • Offline
  • Profile
Tags:

Resizable column in DataTable

Post Posted: Tue Jun 19, 2012 2:22 am
+0-
Hi,

In my project based on yui 2.9.0 I have dataTable with resizable columns
Can you give me a tip about how I can do it in yui 3.5.1?

Luke Smith

YUI Contributor

  • Username: lsmith
  • Joined: Thu Aug 28, 2008 7:50 am
  • Posts: 511
  • Location: Sunnyvale
  • Twitter: ls_n
  • GitHub: lsmith
  • Gists: lsmith
  • IRC: ls_n
  • YUI Developer
  • Offline
  • Profile

Re: Resizable column in DataTable

Post Posted: Wed Jun 20, 2012 11:50 am
+0-
The module datatable-column-widths adds (some) support assigning and resizing columns. Use the setColumnWidth(id, width) method to resize them.
http://yuilibrary.com/yui/docs/api/clas ... olumnWidth

There isn't currently a drag-to-resize feature in the core DataTable modules, though something may exist in the gallery.
  [ 2 posts ]
Display posts from previous:  Sort by  
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