dark_mode EN
  • Data WTableCell :nRowSpan
  • Type Numeric
  • Initial value 0

Number of cells to expand the cell into in row direction. It is important that when loading data, the cells on which the data is going to be expanded have a NIL value and not another. For further information consult the following link.

::aData2 := { { "Name", "Ignacio" }, { "Phone", "456 789 215" },  { NIL,  "456 781 237 " }  }
...
WITH OBJECT WTable():New( Self )
  :cId := "table3"
  :cCaption := "Header left with rowspan"
  :LoadData( ::aData2,, .T. )
  :aRows[ 2 ]:aCells[ 1 ]:nRowSpan := 2
  :Create()
END WITH

Previous chevron_left Next chevron_right