• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Monsgo

Corporal
30 Badges
Apr 19, 2018
27
27
  • Stellaris - Path to Destruction bundle
  • Prison Architect
  • Imperator: Rome
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Death or Dishonor
  • Surviving Mars
  • Europa Universalis IV
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Europa Universalis 4: Emperor
  • Hearts of Iron IV: No Step Back
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
I am working on a UI mod, I want a list to show only first 10 entries.

Code:
dynamicgridbox = {
    datacontext = "[OutlinerEntry.AccessScope.AccessMarket]"
    block "list_position" {
        position = { 20 0 }
    }
    block "list_properties" {
        datamodel = "[Market.AccessMarketGoods( Market.GetEmptyFilters )]"
        item = {
            sortable_market_goods_item = {}
        }
    }
}