Skip to content

Add possibility to sort disable a specific item#180

Open
iamajoe wants to merge 1 commit intogitim:masterfrom
iamajoe:item-disable
Open

Add possibility to sort disable a specific item#180
iamajoe wants to merge 1 commit intogitim:masterfrom
iamajoe:item-disable

Conversation

@iamajoe
Copy link

@iamajoe iamajoe commented Jan 5, 2020

This came from a situation where I wanted to setup header items that I didn't want to move. This could be useful in other situations aswell.

Here is an example usage:

const data = [
  { text: 'Foo', sortDisabled: true },
  { text: 'Bar' }
];

The first data item wouldn't be sort enabled but the second one would.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant