Didn't work. The rule actually says "remove the selected row from the editable list", does that mean it won't work on a read-only list? Because my list is read-only. If so, any other suggestions?
i couldnt find any other way to do that ,
but yes , if u could change the list into editable list it should work , u could just change it into editable list and remove all functionalities u dont need ,
like the tool bar buttons , remove them
and disable/remove on list item double click event ,
doing these things will make it as same as normal list view .
Still no joy :( I made the list editable but that rule to remove the selected row still doesn't seem to want to work. I made a button whose sole purpose is to test that rule and clicking it doesn't do anything. I'm wondering if the list had to be editable from the start or something silly like that.
Please explain what you mean by Deselect (or select for that matter).
Do you refer to selecting multiple list items in a K2 list view or do you mean you want to delete rows already existing in a database and displayed in the list view?
When you click on a list view row it becomes highlighted. That is your selected row. Now, how do you deselect it? In other words, clear a row from being highlighted.
Not sure that's possible with rules, what are you ultimately trying to achieve. There might be another way? Or is it strictly to have a rule deselect specific rows?
How will you know which row to deselect? What will trigger the rule?
What I have done before is use conditional formatting and actually change colour for every column. So;
For rows that have different colour (selected rows)
Is this close to what you're looking for? Again, if I had a better picture of what you were trying to achieve there might be better suggestions.