Guest User

Untitled

a guest
Oct 23rd, 2012
77
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Html.X().Panel()
  2. .Title("Właściwości")
  3. .Header(true)
  4. .Flex(2)
  5. .Layout(LayoutType.Fit)
  6. .Items(builder2 => builder2.Add(
  7. Html.X().PropertyGrid()
  8. .SortableColumns(false)
  9. .CellCls("first-level")
  10. .Cls("first-level")
  11. //.Cls("asd")
  12. .Scroll(ScrollMode.None)
  13. .Header(false)
  14. .Source(collection => collection.AddRange(
  15. new PropertyGridParameterCollection
  16. {
  17.  
  18. new PropertyGridParameter("nazwa","siemasz"),
  19. new PropertyGridParameter("adres","długa wartioooooooość")
  20. }))
  21. .Listeners(listeners => listeners.BeforeEdit.Fn = "DisableEdit")))
RAW Paste Data