![]() ![]() This is because width is mandatory - there For width, both undefinedĪnd null will skip the attribute. The only exception is with regards to Column Width. Sort=undefined will leave whatever sort, if any, that is currently present. They are as follows: null vs undefinedįor all state attributes, undefined means "do not apply this attribute" and null means "clear this attribute".įor example setting sort=null will clear sort on a column whereas setting There are a few items to note on specific state attributes. The example below shows some fine grained access to Column State. Take the following code snippets asĮxamples: // Sort Athlete column ascendingĪpi. ![]() If faultState is not provided, then any additional Columns in the grid will not be updated.Ĭombining these rules together leaves for flexible fine grained state control. When state is applied and there are additional Columns in the grid that do not appear in the provided state, then the faultState is applied to those additional Columns. ![]() For example if a Column has a Column State with just pinned, then Pinned is applied to that Column but other attributes, such as sort are left intact. When applying a Column State, in cases where some state attributes or columns are missing from the Column State,Īttributes that are not supplied or are set to undefined will remain unchanged. setting what Columns are Pinned, without impactingĪny other state attribute. This allows fine grained control over the Column State, e.g. It is possible to focus on particular columns and / or particular attributes when getting and / or applying a Column ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |